changeset 3008:c203ccd7d838

qheader: exit withh meaningful error code.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 22 Aug 2006 16:59:09 -0700
parents 425413d9ef59
children e2bad806ccc3
files hgext/mq.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]