Mercurial > hg
changeset 15924:3f132207e92f
qclone: ignore local qbase if secret
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 18 Jan 2012 19:16:01 -0600 |
parents | 4b088ae9d47a |
children | f9fc46698352 |
files | hgext/mq.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Wed Jan 18 18:14:55 2012 -0600 +++ b/hgext/mq.py Wed Jan 18 19:16:01 2012 -0600 @@ -2078,7 +2078,7 @@ ' (see init --mq)')) qbase, destrev = None, None if sr.local(): - if sr.mq.applied: + if sr.mq.applied and sr[qbase].phase() != phases.secret: qbase = sr.mq.applied[0].node if not hg.islocal(dest): heads = set(sr.heads())