tests/test-uncommit.t
changeset 42936 2da754532dd3
parent 42921 4690902850df
child 42974 576fd1c8b20b
--- a/tests/test-uncommit.t	Sat Sep 14 23:41:31 2019 -0400
+++ b/tests/test-uncommit.t	Sun Sep 15 00:07:30 2019 -0400
@@ -36,6 +36,7 @@
   
       --keep                     allow an empty commit after uncommiting
       --allow-dirty-working-copy allow uncommit with outstanding changes
+   -n --note TEXT                store a note on uncommit
    -I --include PATTERN [+]      include names matching the given patterns
    -X --exclude PATTERN [+]      exclude names matching the given patterns
    -m --message TEXT             use text as commit message
@@ -570,7 +571,7 @@
 
   $ hg rollback -q --config ui.rollback=True
   $ cd dir
-  $ hg uncommit .
+  $ hg uncommit . -n 'this is a note'
   note: keeping empty commit
   $ hg status
   A dir/file2.txt