Mercurial > hg-stable
changeset 17954:4dc438ddd246
mq: don't refer to a random name-captured repo object
Previously, we used a repo object captured at the time of monkeypatching.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Tue, 20 Nov 2012 11:52:47 -0800 |
parents | 49c85541617b |
children | 4ae21a7568f3 |
files | hgext/mq.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Tue Nov 20 10:09:06 2012 -0800 +++ b/hgext/mq.py Tue Nov 20 11:52:47 2012 -0800 @@ -3436,7 +3436,7 @@ outapplied.pop() # looking for pushed and shared changeset for node in outapplied: - if repo[node].phase() < phases.secret: + if self[node].phase() < phases.secret: raise util.Abort(_('source has mq patches applied')) # no non-secret patches pushed super(mqrepo, self).checkpush(force, revs)