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
This commit is contained in:
Pulkit Goyal 2017-10-31 06:39:38 +05:30
parent 1fa3521832
commit 023a6862fc

View File

@ -49,7 +49,7 @@ def children(ui, repo, file_=None, **opts):
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`.