Mercurial > hg-stable
diff hgext/children.py @ 7369:87158be081b8
cmdutil: use change contexts for cset-printer and cset-templater
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 14 Nov 2008 13:59:25 +0100 |
parents | f6c00b17387c |
children | c756e695012a |
line wrap: on
line diff
--- a/hgext/children.py Fri Nov 14 12:44:26 2008 +0100 +++ b/hgext/children.py Fri Nov 14 13:59:25 2008 +0100 @@ -28,8 +28,8 @@ ctx = repo[rev] displayer = cmdutil.show_changeset(ui, repo, opts) - for node in [cp.node() for cp in ctx.children()]: - displayer.show(changenode=node) + for cctx in ctx.children(): + displayer.show(cctx) cmdtable = {