# HG changeset patch # User Martin von Zweigbergk # Date 1522694549 -19800 # Node ID 9233620105258d52736d8041133bf6276a1c034e # Parent d2c9128364654d91d5b655c2a34d22b63d0cde86 children: use repo['.'] instead of repo[''] Differential Revision: https://phab.mercurial-scm.org/D3020 diff -r d2c912836465 -r 923362010525 hgext/children.py --- a/hgext/children.py Mon Apr 02 09:16:52 2018 -0700 +++ b/hgext/children.py Tue Apr 03 00:12:29 2018 +0530 @@ -35,7 +35,7 @@ testedwith = 'ships-with-hg-core' @command('children', - [('r', 'rev', '', + [('r', 'rev', '.', _('show children of the specified revision'), _('REV')), ] + templateopts, _('hg children [-r REV] [FILE]'),