changeset 33089 | 9e0d222f5687 |
parent 33054 | a49ab7f5e7e7 |
child 33091 | 73dfc72704b6 |
--- a/mercurial/commands.py Sun Jun 25 13:31:56 2017 -0700 +++ b/mercurial/commands.py Mon Jun 26 09:18:55 2017 +0900 @@ -2790,12 +2790,12 @@ numoutput = ["%d" % p.rev() for p in parents] output.append("%s%s" % ('+'.join(numoutput), dirty)) - for i, p in enumerate(parents): - fn = fm.nested('p%d' % (i + 1)) + fn = fm.nested('parents') + for p in parents: fn.startitem() fn.data(rev=p.rev()) fn.data(node=p.hex()) - fn.end() + fn.end() else: hexoutput = hexfunc(ctx.node()) if default or id: