test: no need to look at full log draft
authorSushil khanchi <sushilkhanchi97@gmail.com>
Mon, 30 Dec 2019 00:43:17 +0530
changeset 5240 6f5e6253324f
parent 5239 13152b2fe8f7
child 5241 91285cff4b70
test: no need to look at full log
tests/test-evolve-public-content-divergent-corner-cases.t
--- a/tests/test-evolve-public-content-divergent-corner-cases.t	Sun Dec 29 23:59:41 2019 +0530
+++ b/tests/test-evolve-public-content-divergent-corner-cases.t	Mon Dec 30 00:43:17 2019 +0530
@@ -655,7 +655,7 @@
 
   $ hg evolve --list
 
-  $ hg log -G --patch
+  $ hg log -G --patch -l2
   @  changeset:   8:a52ac76b45f5
   |  tag:         tip
   |  user:        test
@@ -670,70 +670,15 @@
   |
   o  changeset:   7:c7d2d47c7240
   |  parent:      2:eb1b4e1205b8
-  |  user:        test
-  |  date:        Thu Jan 01 00:00:00 1970 +0000
-  |  summary:     c_E
-  |
-  |  diff -r eb1b4e1205b8 -r c7d2d47c7240 c_E
-  |  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
-  |  +++ b/c_E	Thu Jan 01 00:00:00 1970 +0000
-  |  @@ -0,0 +1,1 @@
-  |  +c_E
-  |
-  | o  changeset:   4:dbb960d6c97c
-  | |  user:        test
-  | |  date:        Thu Jan 01 00:00:00 1970 +0000
-  | |  summary:     c_D
-  | |
-  | |  diff -r abb77b893f28 -r dbb960d6c97c c_D
-  | |  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
-  | |  +++ b/c_D	Thu Jan 01 00:00:00 1970 +0000
-  | |  @@ -0,0 +1,1 @@
-  | |  +c_D
-  | |
-  | o  changeset:   3:abb77b893f28
-  |/   user:        test
-  |    date:        Thu Jan 01 00:00:00 1970 +0000
-  |    summary:     c_C
-  |
-  |    diff -r eb1b4e1205b8 -r abb77b893f28 c_C
-  |    --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
-  |    +++ b/c_C	Thu Jan 01 00:00:00 1970 +0000
-  |    @@ -0,0 +1,1 @@
-  |    +c_C
-  |
-  o  changeset:   2:eb1b4e1205b8
-  |  user:        test
-  |  date:        Thu Jan 01 00:00:00 1970 +0000
-  |  summary:     c_B
-  |
-  |  diff -r e31751786014 -r eb1b4e1205b8 c_B
-  |  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
-  |  +++ b/c_B	Thu Jan 01 00:00:00 1970 +0000
-  |  @@ -0,0 +1,1 @@
-  |  +c_B
-  |
-  o  changeset:   1:e31751786014
-  |  user:        test
-  |  date:        Thu Jan 01 00:00:00 1970 +0000
-  |  summary:     c_A
-  |
-  |  diff -r 1e4be0697311 -r e31751786014 c_A
-  |  --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
-  |  +++ b/c_A	Thu Jan 01 00:00:00 1970 +0000
-  |  @@ -0,0 +1,1 @@
-  |  +c_A
-  |
-  o  changeset:   0:1e4be0697311
-     user:        test
+  ~  user:        test
      date:        Thu Jan 01 00:00:00 1970 +0000
-     summary:     root
+     summary:     c_E
   
-     diff -r 000000000000 -r 1e4be0697311 root
+     diff -r eb1b4e1205b8 -r c7d2d47c7240 c_E
      --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
-     +++ b/root	Thu Jan 01 00:00:00 1970 +0000
+     +++ b/c_E	Thu Jan 01 00:00:00 1970 +0000
      @@ -0,0 +1,1 @@
-     +root
+     +c_E
   
   $ hg export tip
   # HG changeset patch