Mercurial > hg-stable
diff tests/test-mq-qimport.t @ 16027:29ea059be33c stable
qimport: when mq.secret=True set qimported revision as secret
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 30 Jan 2012 17:37:45 +0100 |
parents | 9d4b5c3cb853 |
children | 5de83d9ca79c |
line wrap: on
line diff
--- a/tests/test-mq-qimport.t Mon Jan 30 17:36:30 2012 +0100 +++ b/tests/test-mq-qimport.t Mon Jan 30 17:37:45 2012 +0100 @@ -226,3 +226,19 @@ $ cd ../repo $ hg qimport http://localhost:$HGPORT/raw-rev/0/// adding 0 to series file + +check qimport phase: + + $ hg -q qpush + now at: 0 + $ hg phase qparent + 1: draft + $ hg qimport -r qparent + $ hg phase qbase + 1: draft + $ hg qfinish qbase + $ echo '[mq]' >> $HGRCPATH + $ echo 'secret=true' >> $HGRCPATH + $ hg qimport -r qparent + $ hg phase qbase + 1: secret