Submitter | phabricator |
---|---|
Date | Feb. 25, 2018, 1:53 a.m. |
Message ID | <5aab55c49b6ec67289df7136e990d95a@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/28340/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py --- a/mercurial/templatekw.py +++ b/mercurial/templatekw.py @@ -400,7 +400,7 @@ """List of strings. The children of the changeset.""" args = pycompat.byteskwargs(args) ctx = args['ctx'] - childrevs = ['%d:%s' % (cctx, cctx) for cctx in ctx.children()] + childrevs = ['%d:%s' % (cctx.rev(), cctx) for cctx in ctx.children()] return showlist('children', childrevs, args, element='child') # Deprecated, but kept alive for help generation a purpose.