children: fix the log expansion of `hg children` in doc stable
authorPulkit Goyal <7895pulkit@gmail.com>
Tue, 31 Oct 2017 06:39:38 +0530
branchstable
changeset 34945 d2554ef04d26
parent 34944 bf2db35a6fe7
child 34946 5caae380ff90
children: fix the log expansion of `hg children` in doc `hg log -r children()` returns `hg: parse error: missing argument`. Differential Revision: https://phab.mercurial-scm.org/D1269
hgext/children.py
--- a/hgext/children.py	Sun Oct 29 17:53:52 2017 +0900
+++ b/hgext/children.py	Tue Oct 31 06:39:38 2017 +0530
@@ -49,7 +49,7 @@
 
     Please use :hg:`log` instead::
 
-        hg children => hg log -r "children()"
+        hg children => hg log -r "children(.)"
         hg children -r REV => hg log -r "children(REV)"
 
     See :hg:`help log` and :hg:`help revsets.children`.