D1269: children: fix the log expansion of `hg children` in doc

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Oct 31 01:56:51 UTC 2017


pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  `hg log -r children()` returns `hg: parse error: missing argument`.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1269

AFFECTED FILES
  hgext/children.py

CHANGE DETAILS

diff --git a/hgext/children.py b/hgext/children.py
--- a/hgext/children.py
+++ b/hgext/children.py
@@ -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`.



To: pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list