Mercurial > public > mercurial-scm > hg
diff hgext/mq.py @ 6382:f3c3965fa0ff
mq: use repo.changelog.tip() instead of the "tip" tag
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 24 Mar 2008 18:07:07 -0300 |
parents | a632a9a57821 |
children | 8c4cd80afd3e 315b36ce6251 |
line wrap: on
line diff
--- a/hgext/mq.py Mon Mar 24 20:28:13 2008 +0100 +++ b/hgext/mq.py Mon Mar 24 18:07:07 2008 -0300 @@ -766,7 +766,7 @@ def push(self, repo, patch=None, force=False, list=False, mergeq=None): wlock = repo.wlock() - if repo.dirstate.parents()[0] != repo.lookup("tip"): + if repo.dirstate.parents()[0] != repo.changelog.tip(): self.ui.status(_("(working directory not at tip)\n")) try: