author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
Mon, 24 Mar 2008 18:07:07 -0300 | |
changeset 6382 | f3c3965fa0ff |
parent 6381 | 0b89315d5de2 |
child 6383 | 38485d45f947 |
hgext/mq.py | file | annotate | diff | comparison | revisions |
--- 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: