Mercurial > hg > mercurial-crew-with-dirclash
changeset 4338:7ae02bce8de2
mq: fix qtop when some patches beneath are guarded
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 12 Apr 2007 14:45:53 -0700 |
parents | 23068518deca |
children | 077aafddd35f 9bfe93edfbb0 |
files | hgext/mq.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py +++ b/hgext/mq.py @@ -1547,7 +1547,7 @@ def series(ui, repo, **opts): def top(ui, repo, **opts): """print the name of the current patch""" q = repo.mq - t = len(q.applied) + t = q.series_end() if t: return q.qseries(repo, start=t-1, length=1, status='A', summary=opts.get('summary'))