changeset 21:aad5083f1117

foo
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 11 Jul 2013 10:53:03 -0700
parents bc17ab3c516e
children 7fd599dbef51
files hq/main.py
diffstat 1 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/hq/main.py	Mon Jun 24 11:28:58 2013 -0700
+++ b/hq/main.py	Thu Jul 11 10:53:03 2013 -0700
@@ -95,15 +95,14 @@
         # TODO: pull queue repo
         if self._versioned():
             if self.incoming():
-                print >> sys.stderr, "Incoming changes, cannot pull"
-                # TODO: yes you can if they're compatible
+                print >> sys.stderr, "Incoming changes"
+
+            output = self._status(self.directory())
+            if output:
+                print >> sys.stderr, "Cannot pull %s; outstanding changes" % (self.directory())
+                print output
             else:
-                output = self._status(self.directory())
-                if output:
-                    print >> sys.stderr, "Cannot pull %s; outstanding changes" % (self.directory())
-                    print output
-                else:
-                    self._call('pull', '--mq')
+                self._call('pull', '--mq')
         for patch in applied:
             self._call('qpush')