changeset 37265:923362010525

children: use repo['.'] instead of repo[''] Differential Revision: https://phab.mercurial-scm.org/D3020
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 03 Apr 2018 00:12:29 +0530
parents d2c912836465
children 32857300846c
files hgext/children.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]'),