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

login
register
mail settings
Submitter phabricator
Date Oct. 31, 2017, 1:56 a.m.
Message ID <differential-rev-PHID-DREV-kkj2k6q3sya5kzhysicp-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/25312/
State Superseded
Headers show

Comments

phabricator - Oct. 31, 2017, 1:56 a.m.
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




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

Patch

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`.