hgext/children.py
changeset 17773 434e5bd615fc
parent 16743 38caf405d010
child 21248 48e859e30cbf
--- a/hgext/children.py	Mon Oct 15 09:43:34 2012 -0700
+++ b/hgext/children.py	Tue Oct 16 11:43:15 2012 -0700
@@ -14,7 +14,7 @@
 "children(REV)"` instead.
 '''
 
-from mercurial import cmdutil
+from mercurial import cmdutil, commands
 from mercurial.commands import templateopts
 from mercurial.i18n import _
 
@@ -48,3 +48,5 @@
          ] + templateopts,
          _('hg children [-r REV] [FILE]')),
 }
+
+commands.inferrepo += " children"