tests/test-uncommit-interactive.t
changeset 3221 9f3521cc4c90
parent 3220 f0f4cc2febac
child 3223 73b4e84df0bd
--- a/tests/test-uncommit-interactive.t	Fri Nov 17 03:14:31 2017 +0530
+++ b/tests/test-uncommit-interactive.t	Fri Nov 17 03:14:47 2017 +0530
@@ -128,7 +128,7 @@
 Uncommit a chunk
 ================
 
-  $ hg amend --extract -i<<EOF
+  $ hg amend --extract -n "note on amend --extract" -i<<EOF
   > y
   > y
   > n
@@ -163,6 +163,14 @@
   +babar
   discard change 3/3 to 'a'? [Ynesfdaq?] n
   
+
+  $ hg obslog
+  @  678a59e5ff90 (3) another one
+  |
+  x  f70fb463d5bf (1) another one
+       rewritten(content) as 678a59e5ff90 by test (Thu Jan 01 00:00:00 1970 +0000)
+         note: 'note on amend --extract'
+  
 The unselected part should be in the diff
 -----------------------------------------
 
@@ -297,6 +305,7 @@
   |
   x  f70fb463d5bf (1) another one
        rewritten(content) as 678a59e5ff90 by test (Thu Jan 01 00:00:00 1970 +0000)
+         note: 'note on amend --extract'
   
 
 Push the changes back to the commit and more commits for more testing