##// END OF EJS Templates
Fix issue443: inconsistent output of "hg qunapplied -v"...
Thomas Arendsen Hein -
r4238:ce6c364e default
parent child Browse files
Show More
@@ -1142,6 +1142,8 b' class queue:'
1142 else:
1142 else:
1143 stat = 'G'
1143 stat = 'G'
1144 pfx = '%d %s ' % (i, stat)
1144 pfx = '%d %s ' % (i, stat)
1145 elif status == 'U' and not self.pushable(i)[0]:
1146 continue
1145 self.ui.write('%s%s\n' % (pfx, displayname(patch)))
1147 self.ui.write('%s%s\n' % (pfx, displayname(patch)))
1146 else:
1148 else:
1147 msng_list = []
1149 msng_list = []
@@ -1438,8 +1440,8 b' def unapplied(ui, repo, patch=None, **op'
1438 raise util.Abort(_("patch %s is not in series file") % patch)
1440 raise util.Abort(_("patch %s is not in series file") % patch)
1439 start = q.series.index(patch) + 1
1441 start = q.series.index(patch) + 1
1440 else:
1442 else:
1441 start = q.series_end()
1443 start = q.series_end(True)
1442 q.qseries(repo, start=start, summary=opts.get('summary'))
1444 q.qseries(repo, start=start, status='U', summary=opts.get('summary'))
1443
1445
1444 def qimport(ui, repo, *filename, **opts):
1446 def qimport(ui, repo, *filename, **opts):
1445 """import a patch
1447 """import a patch
General Comments 0
You need to be logged in to leave comments. Login now