children: use repo['.'] instead of repo['']
authorMartin von Zweigbergk <martinvonz@google.com>
Tue, 03 Apr 2018 00:12:29 +0530
changeset 37265 923362010525
parent 37264 d2c912836465
child 37266 32857300846c
children: use repo['.'] instead of repo[''] Differential Revision: https://phab.mercurial-scm.org/D3020
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]'),