Mercurial > hg
diff tests/test-mq.t @ 16028:922c0e9b40be stable
mq: take mq.secret configuration into account when picking the default phase
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 30 Jan 2012 17:39:05 +0100 |
parents | 2605fc990725 |
children | ee1c8385e5b0 |
line wrap: on
line diff
--- 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