##// END OF EJS Templates
mq: use repo.changelog.tip() instead of the "tip" tag
Alexis S. L. Carvalho -
r6382:f3c3965f default
parent child Browse files
Show More
@@ -766,7 +766,7 b' class queue:'
766 def push(self, repo, patch=None, force=False, list=False,
766 def push(self, repo, patch=None, force=False, list=False,
767 mergeq=None):
767 mergeq=None):
768 wlock = repo.wlock()
768 wlock = repo.wlock()
769 if repo.dirstate.parents()[0] != repo.lookup("tip"):
769 if repo.dirstate.parents()[0] != repo.changelog.tip():
770 self.ui.status(_("(working directory not at tip)\n"))
770 self.ui.status(_("(working directory not at tip)\n"))
771
771
772 try:
772 try:
General Comments 0
You need to be logged in to leave comments. Login now