tests/test-amend-patch.t
branchmercurial-4.6
changeset 5368 844b1ad5b34b
parent 5349 e8660b28bfee
--- a/tests/test-amend-patch.t	Wed Apr 08 01:17:01 2020 +0800
+++ b/tests/test-amend-patch.t	Fri May 08 22:50:09 2020 +0800
@@ -84,18 +84,20 @@
 
 Obsolsence history is fine
 
+  $ hg debugobsolete
+  f7ad4196431346de3c33c52e75374fba45e04313 af624b221c0c0bec5d74e2650180dd3eddcb7c42 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'}
   $ hg obslog -p -r .
   @  af624b221c0c (1) added a
+  |    amended(content) from f7ad41964313 using amend by test (Thu Jan 01 00:00:00 1970 +0000)
+  |      diff --git a/a b/a
+  |      --- a/a
+  |      +++ b/a
+  |      @@ -1,1 +1,1 @@
+  |      -foo
+  |      +Gello
+  |
   |
   x  f7ad41964313 (0) added a
-       amended(content) as af624b221c0c using amend by test (Thu Jan 01 00:00:00 1970 +0000)
-         diff --git a/a b/a
-         --- a/a
-         +++ b/a
-         @@ -1,1 +1,1 @@
-         -foo
-         +Gello
-  
   
 Diff and status are good too
   $ hg diff
@@ -257,7 +259,8 @@
   $ hg status
   ? editor.sh
 
-  $ ls
+  $ ls -A
+  .hg
   changedfile
   editor.sh