hgext/children.py
changeset 6747 f6c00b17387c
parent 6192 cd65a67aff31
child 7369 87158be081b8
--- a/hgext/children.py	Thu Jun 26 13:58:24 2008 -0500
+++ b/hgext/children.py	Thu Jun 26 14:35:46 2008 -0500
@@ -25,7 +25,7 @@
     if file_:
         ctx = repo.filectx(file_, changeid=rev)
     else:
-        ctx = repo.changectx(rev)
+        ctx = repo[rev]
 
     displayer = cmdutil.show_changeset(ui, repo, opts)
     for node in [cp.node() for cp in ctx.children()]: