author | Brendan Cully <brendan@kublai.com> |
Thu, 12 Apr 2007 14:45:53 -0700 | |
changeset 4341 | 7ae02bce8de2 |
parent 4340 | 23068518deca |
child 4342 | 9bfe93edfbb0 |
child 4343 | 077aafddd35f |
hgext/mq.py | file | annotate | diff | comparison | revisions |
--- a/hgext/mq.py Thu Apr 12 22:41:50 2007 +0200 +++ b/hgext/mq.py Thu Apr 12 14:45:53 2007 -0700 @@ -1547,7 +1547,7 @@ 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'))