diff hgext/children.py @ 37267: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 c8e2d6ed1f9e
children 7c8524efd847
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]'),