graft: use revs to make tests more readable stable
authorStefano Tortarolo <stefano.tortarolo@gmail.com>
Sat, 12 Nov 2011 11:23:52 +0100
branchstable
changeset 15507 7186b54b07c6
parent 15506 dc9fb7015d7f
child 15508 00276525e2b7
graft: use revs to make tests more readable
tests/test-graft.t
--- a/tests/test-graft.t	Sat Nov 12 13:15:40 2011 +0100
+++ b/tests/test-graft.t	Sat Nov 12 11:23:52 2011 +0100
@@ -200,30 +200,30 @@
 
 View graph:
 
-  $ hg --config extensions.graphlog= log -G --template '{author}@rev: {desc}\n'
-  @  test@rev: 3
+  $ hg --config extensions.graphlog= log -G --template '{author}@{rev}: {desc}\n'
+  @  test@11: 3
   |
-  o  test@rev: 4
+  o  test@10: 4
   |
-  o  test@rev: 5
+  o  test@9: 5
   |
-  o  bar@rev: 1
+  o  bar@8: 1
   |
-  o  foo@rev: 2
+  o  foo@7: 2
   |
-  | o    test@rev: 6
+  | o    test@6: 6
   | |\
-  | | o  test@rev: 5
+  | | o  test@5: 5
   | | |
-  | o |  test@rev: 4
+  | o |  test@4: 4
   | |/
-  | o  baz@rev: 3
+  | o  baz@3: 3
   | |
-  | o  test@rev: 2
+  | o  test@2: 2
   | |
-  | o  bar@rev: 1
+  | o  bar@1: 1
   |/
-  o  test@rev: 0
+  o  test@0: 0
   
 Graft again onto another branch should preserve the original source
   $ hg up -q 0