tests/test-graft.t
changeset 15918 4f9853e7f690
parent 15907 51fc43253a52
child 16094 0776a6cababe
--- a/tests/test-graft.t	Tue Jan 17 09:12:14 2012 +0100
+++ b/tests/test-graft.t	Tue Jan 17 11:08:23 2012 +0100
@@ -22,6 +22,24 @@
   $ hg merge -q default --tool internal:local
   $ hg branch -q default
   $ hg ci -m6
+  $ hg phase --public 3
+  $ hg phase --force --secret 6
+
+  $ hg --config extensions.graphlog= log -G --template '{author}@{rev}.{phase}: {desc}\n'
+  @    test@6.secret: 6
+  |\
+  | o  test@5.draft: 5
+  | |
+  o |  test@4.draft: 4
+  |/
+  o  baz@3.public: 3
+  |
+  o  test@2.public: 2
+  |
+  o  bar@1.public: 1
+  |
+  o  test@0.public: 0
+  
 
 Need to specify a rev:
 
@@ -181,30 +199,30 @@
 
 View graph:
 
-  $ hg --config extensions.graphlog= log -G --template '{author}@{rev}: {desc}\n'
-  @  test@11: 3
+  $ hg --config extensions.graphlog= log -G --template '{author}@{rev}.{phase}: {desc}\n'
+  @  test@11.draft: 3
   |
-  o  test@10: 4
+  o  test@10.draft: 4
   |
-  o  test@9: 5
+  o  test@9.draft: 5
   |
-  o  bar@8: 1
+  o  bar@8.draft: 1
   |
-  o  foo@7: 2
+  o  foo@7.draft: 2
   |
-  | o    test@6: 6
+  | o    test@6.secret: 6
   | |\
-  | | o  test@5: 5
+  | | o  test@5.draft: 5
   | | |
-  | o |  test@4: 4
+  | o |  test@4.draft: 4
   | |/
-  | o  baz@3: 3
+  | o  baz@3.public: 3
   | |
-  | o  test@2: 2
+  | o  test@2.public: 2
   | |
-  | o  bar@1: 1
+  | o  bar@1.public: 1
   |/
-  o  test@0: 0
+  o  test@0.public: 0
   
 Graft again onto another branch should preserve the original source
   $ hg up -q 0