tests/test-mq-qrefresh.t
branchstable
changeset 16026 31c02546e6de
parent 14452 ee574cfd0c32
child 16913 f2719b387380
--- a/tests/test-mq-qrefresh.t	Mon Jan 30 17:33:09 2012 +0100
+++ b/tests/test-mq-qrefresh.t	Mon Jan 30 17:36:30 2012 +0100
@@ -523,3 +523,23 @@
   diff --git a/a b/a
   new file mode 100644
   $ cd ..
+
+Refresh with phase data:
+
+
+
+  $ cd repo
+  $ echo 'babar' >> a
+  $ hg qnew -m 'update a' p2.diff
+  $ hg phase p2.diff
+  2: draft
+  $ echo 'beber' >> a
+  $ hg qref
+  $ hg phase p2.diff
+  2: draft
+  $ hg phase --force --secret p2.diff
+  $ echo 'bibir' >> a
+  $ hg qref
+  $ hg phase p2.diff
+  2: secret
+