--- 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]