##// END OF EJS Templates
templatekw: use ctx.rev() instead of casting context to int...
Gregory Szorc -
r36419:d6564284 default
parent child Browse files
Show More
@@ -400,7 +400,7 b' def showchildren(**args):'
400 """List of strings. The children of the changeset."""
400 """List of strings. The children of the changeset."""
401 args = pycompat.byteskwargs(args)
401 args = pycompat.byteskwargs(args)
402 ctx = args['ctx']
402 ctx = args['ctx']
403 childrevs = ['%d:%s' % (cctx, cctx) for cctx in ctx.children()]
403 childrevs = ['%d:%s' % (cctx.rev(), cctx) for cctx in ctx.children()]
404 return showlist('children', childrevs, args, element='child')
404 return showlist('children', childrevs, args, element='child')
405
405
406 # Deprecated, but kept alive for help generation a purpose.
406 # Deprecated, but kept alive for help generation a purpose.
General Comments 0
You need to be logged in to leave comments. Login now