diff tests/test-topic.t @ 5969:f8ab6ad1ffc0

tests: drop 3.7 compatibility for log -G missing parent edge
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 19 Jun 2021 22:33:38 +0300
parents 87006dcf2bb7
children e97fbded40a5
line wrap: on
line diff
--- a/tests/test-topic.t	Sat Jun 19 22:09:08 2021 +0300
+++ b/tests/test-topic.t	Sat Jun 19 22:33:38 2021 +0300
@@ -6,11 +6,6 @@
   > [phases]
   > publish=false
   > EOF
-  $ cat <<EOF >> $HGRCPATH
-  > [experimental]
-  > # disable the new graph style until we drop 3.7 support
-  > graphstyle.missing = |
-  > EOF
 
   $ hg help -e topic
   topic extension - support for topic branches
@@ -522,9 +517,9 @@
   |
   o  changeset:   4:fb147b0b417c
   |  user:        test
-  |  date:        Thu Jan 01 00:00:00 1970 +0000
-  |  summary:     start on narf
-  |
+  ~  date:        Thu Jan 01 00:00:00 1970 +0000
+     summary:     start on narf
+  
 
   $ hg push -f ../pinky -r query
   pushing to ../pinky
@@ -552,16 +547,16 @@
   |
   | o  changeset:   5:0469d521db49
   | |  topic:       fran
-  | |  parent:      3:a53952faf762
-  | |  user:        test
-  | |  date:        Thu Jan 01 00:00:00 1970 +0000
-  | |  summary:     start on fran
-  | |
-  o |  changeset:   4:fb147b0b417c
-  |/   user:        test
+  | ~  parent:      3:a53952faf762
+  |    user:        test
   |    date:        Thu Jan 01 00:00:00 1970 +0000
-  |    summary:     start on narf
+  |    summary:     start on fran
   |
+  o  changeset:   4:fb147b0b417c
+  |  user:        test
+  ~  date:        Thu Jan 01 00:00:00 1970 +0000
+     summary:     start on narf
+  
 
   $ hg topics
    * query (1 changesets)
@@ -633,16 +628,16 @@
   |
   | o  changeset:   5:0469d521db49
   | |  topic:       fran
-  | |  parent:      3:a53952faf762
-  | |  user:        test
-  | |  date:        Thu Jan 01 00:00:00 1970 +0000
-  | |  summary:     start on fran
-  | |
-  o |  changeset:   4:fb147b0b417c
-  |/   user:        test
+  | ~  parent:      3:a53952faf762
+  |    user:        test
   |    date:        Thu Jan 01 00:00:00 1970 +0000
-  |    summary:     start on narf
+  |    summary:     start on fran
   |
+  o  changeset:   4:fb147b0b417c
+  |  user:        test
+  ~  date:        Thu Jan 01 00:00:00 1970 +0000
+     summary:     start on narf
+  
 
   $ cd ../brain
   $ hg topics
@@ -682,12 +677,12 @@
   $ hg log -Gr 'draft()'
   o  changeset:   9:0469d521db49
   |  tag:         tip
-  |  topic:       fran
-  |  parent:      3:a53952faf762
-  |  user:        test
-  |  date:        Thu Jan 01 00:00:00 1970 +0000
-  |  summary:     start on fran
-  |
+  ~  topic:       fran
+     parent:      3:a53952faf762
+     user:        test
+     date:        Thu Jan 01 00:00:00 1970 +0000
+     summary:     start on fran
+  
 
 query is not an open topic, so when we clear the current topic it'll
 fade out:
@@ -701,12 +696,12 @@
   $ hg log -r 'topic()' -G
   o  changeset:   9:0469d521db49
   |  tag:         tip
-  |  topic:       fran
-  |  parent:      3:a53952faf762
-  |  user:        test
-  |  date:        Thu Jan 01 00:00:00 1970 +0000
-  |  summary:     start on fran
-  |
+  ~  topic:       fran
+     parent:      3:a53952faf762
+     user:        test
+     date:        Thu Jan 01 00:00:00 1970 +0000
+     summary:     start on fran
+  
   $ hg log -r 'not topic()' -G
   o    changeset:   8:ae074045b7a7
   |\   parent:      7:54c943c1c167
@@ -763,22 +758,22 @@
   $ hg log -r 'topic("re:.ra.")' -G
   o  changeset:   9:0469d521db49
   |  tag:         tip
-  |  topic:       fran
-  |  parent:      3:a53952faf762
-  |  user:        test
-  |  date:        Thu Jan 01 00:00:00 1970 +0000
-  |  summary:     start on fran
-  |
+  ~  topic:       fran
+     parent:      3:a53952faf762
+     user:        test
+     date:        Thu Jan 01 00:00:00 1970 +0000
+     summary:     start on fran
+  
 Exact match on fran:
   $ hg log -r 'topic(fran)' -G
   o  changeset:   9:0469d521db49
   |  tag:         tip
-  |  topic:       fran
-  |  parent:      3:a53952faf762
-  |  user:        test
-  |  date:        Thu Jan 01 00:00:00 1970 +0000
-  |  summary:     start on fran
-  |
+  ~  topic:       fran
+     parent:      3:a53952faf762
+     user:        test
+     date:        Thu Jan 01 00:00:00 1970 +0000
+     summary:     start on fran
+  
 
 Match current topic:
   $ hg topic
@@ -851,17 +846,17 @@
   |
   | o  changeset:   10:de75ec1bdbe8
   | |  parent:      8:ae074045b7a7
-  | |  user:        test
-  | |  date:        Thu Jan 01 00:00:00 1970 +0000
-  | |  summary:     non-topic
-  | |
-  o |  changeset:   9:0469d521db49
-  | |  topic:       fran
-  | |  parent:      3:a53952faf762
-  | |  user:        test
-  | |  date:        Thu Jan 01 00:00:00 1970 +0000
-  | |  summary:     start on fran
-  | |
+  | ~  user:        test
+  |    date:        Thu Jan 01 00:00:00 1970 +0000
+  |    summary:     non-topic
+  |
+  o  changeset:   9:0469d521db49
+  |  topic:       fran
+  ~  parent:      3:a53952faf762
+     user:        test
+     date:        Thu Jan 01 00:00:00 1970 +0000
+     summary:     start on fran
+  
 
   $ hg topics
      fran (1 changesets)