qheader: exit withh meaningful error code.
authorBryan O'Sullivan <bos@serpentine.com>
Tue, 22 Aug 2006 16:59:09 -0700
changeset 3008 c203ccd7d838
parent 3007 425413d9ef59
child 3009 e2bad806ccc3
qheader: exit withh meaningful error code.
hgext/mq.py
--- a/hgext/mq.py	Tue Aug 22 16:04:58 2006 -0700
+++ b/hgext/mq.py	Tue Aug 22 16:59:09 2006 -0700
@@ -1573,7 +1573,7 @@
     else:
         if not q.applied:
             ui.write('No patches applied\n')
-            return
+            return 1
         patch = q.lookup('qtip')
     message = repo.mq.readheaders(patch)[0]