tests/test-annotate.t
changeset 31992 3e47a40d7a7a
parent 31991 55987fc8aba1
child 31998 83527d9f1f13
--- a/tests/test-annotate.t	Fri Apr 14 14:09:26 2017 +0200
+++ b/tests/test-annotate.t	Fri Apr 14 14:25:06 2017 +0200
@@ -500,6 +500,7 @@
   16: baz:0
   19: baz:3
   $ hg log -T '{rev}: {desc}\n' -r 'followlines(baz, 3:5, startrev=19, descend=True)'
+  19: baz:3
   20: baz:4
   $ printf "0\n0\n" | cat - baz > baz1
   $ mv baz1 baz
@@ -509,6 +510,7 @@
   19: baz:3
   20: baz:4
   $ hg log -T '{rev}: {desc}\n' -r 'followlines(baz, 3:5, descend=True, startrev=19)'
+  19: baz:3
   20: baz:4
   $ echo 6 >> baz
   $ hg ci -m 'added line 8'
@@ -517,6 +519,7 @@
   19: baz:3
   20: baz:4
   $ hg log -T '{rev}: {desc}\n' -r 'followlines(baz, 3:5, startrev=19, descend=True)'
+  19: baz:3
   20: baz:4
   $ sed 's/3/3+/' baz > baz.new
   $ mv baz.new baz
@@ -526,7 +529,8 @@
   19: baz:3
   20: baz:4
   23: baz:3->3+
-  $ hg log -T '{rev}: {desc}\n' -r 'followlines(baz, 3:5, startrev=19, descend=True)'
+  $ hg log -T '{rev}: {desc}\n' -r 'followlines(baz, 3:5, startrev=17, descend=True)'
+  19: baz:3
   20: baz:4
   23: baz:3->3+
   $ hg log -T '{rev}: {desc}\n' -r 'followlines(baz, 1:2)'
@@ -617,9 +621,11 @@
   |\
   | o  19: baz:3
   |/
-  o    18: baz:2
-  |\
-  ~ ~
+  o  18: baz:2
+  :
+  o  16: baz:0
+  |
+  ~
 
 check error cases
   $ hg up 23 --quiet