tests/test-mq.t
branchstable
changeset 16028 922c0e9b40be
parent 16017 2605fc990725
child 16029 ee1c8385e5b0
--- a/tests/test-mq.t	Mon Jan 30 17:37:45 2012 +0100
+++ b/tests/test-mq.t	Mon Jan 30 17:39:05 2012 +0100
@@ -1448,4 +1448,19 @@
   applying modify-file
   now at: modify-file
 
-  $ cd ..
+Proper phase default with mq:
+
+1. mq.secret=false
+
+  $ rm .hg/store/phaseroots
+  $ hg phase 'qparent::'
+  0: draft
+  1: draft
+  2: draft
+  $ echo '[mq]' >> $HGRCPATH
+  $ echo 'secret=true' >> $HGRCPATH
+  $ rm -f .hg/store/phaseroots
+  $ hg phase 'qparent::'
+  0: secret
+  1: secret
+  2: secret