Mercurial > public > mercurial-scm > hg-stable
diff tests/test-uncommit.t @ 41754:83d294c71f1e
uncommit: inform user if the commit is empty after uncommit
Differential Revision: https://phab.mercurial-scm.org/D5969
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 15 Feb 2019 10:49:12 -0800 |
parents | c7d425f7f5c9 |
children | 1040d54eb7eb |
line wrap: on
line diff
--- a/tests/test-uncommit.t Thu Feb 14 15:35:47 2019 +0100 +++ b/tests/test-uncommit.t Fri Feb 15 10:49:12 2019 -0800 @@ -158,6 +158,7 @@ abort: uncommitted changes [255] $ hg uncommit files + note: keeping empty commit $ cat files abcde foo @@ -281,6 +282,7 @@ Phase is preserved $ hg uncommit --keep --config phases.new-commit=secret + note: keeping empty commit $ hg phase -r . 15: draft $ hg commit --amend -m 'update ab again' @@ -317,6 +319,7 @@ > EOS $ hg up Q -q $ hg uncommit --keep + note: keeping empty commit $ hg log -G -T '{desc} FILES: {files}' @ Q FILES: |