changeset 1954 | 61f36480740f |
parent 1936 | 31583ddda6d9 |
child 1955 | 5452a575b4e5 |
--- a/hgext3rd/topic/stack.py Wed Mar 30 23:58:30 2016 -0700 +++ b/hgext3rd/topic/stack.py Fri Apr 01 16:40:19 2016 -0700 @@ -21,7 +21,7 @@ raise error.Abort(_('no active topic to list')) fm = ui.formatter('topicstack', opts) prev = None - for idx, r in enumerate(getstack(repo, topic)): + for idx, r in enumerate(getstack(repo, topic), 1): ctx = repo[r] p1 = ctx.p1() if p1.obsolete():