changeset 5472:7b82a621e343

test: no need to look at full log
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Mon, 30 Dec 2019 00:43:17 +0530
parents 4993cdeef79c
children b8bcf7562ea1
files tests/test-evolve-public-content-divergent-corner-cases.t
diffstat 1 files changed, 6 insertions(+), 61 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-evolve-public-content-divergent-corner-cases.t	Fri Aug 07 12:46:17 2020 +0800
+++ b/tests/test-evolve-public-content-divergent-corner-cases.t	Mon Dec 30 00:43:17 2019 +0530
@@ -660,7 +660,7 @@
 
   $ hg evolve --list
 
-  $ hg log -G --patch
+  $ hg log -G --patch -l2
   @  changeset:   8:a52ac76b45f5
   |  tag:         tip
   |  user:        test
@@ -675,70 +675,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