hgext/mq.py
changeset 6340 949e607ac544
parent 6217 fe8dbbe9520d
child 6380 a632a9a57821
--- a/hgext/mq.py	Fri Mar 21 21:56:55 2008 +0100
+++ b/hgext/mq.py	Fri Mar 21 15:44:11 2008 -0500
@@ -766,6 +766,9 @@
     def push(self, repo, patch=None, force=False, list=False,
              mergeq=None):
         wlock = repo.wlock()
+        if repo.dirstate.parents()[0] != repo.lookup("tip"):
+            self.ui.status(_("(working directory not at tip)\n"))
+
         try:
             patch = self.lookup(patch)
             # Suppose our series file is: A B C and the current 'top'