changeset 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 0b89315d5de2
children 38485d45f947
files hgext/mq.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: