diff -r 823a7d79ef82 -r 434e5bd615fc hgext/children.py --- 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"