Mercurial > hg
comparison hgext/children.py @ 34945:d2554ef04d26 stable
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
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 31 Oct 2017 06:39:38 +0530 |
parents | 04baab18d60a |
children | 11a372d80496 |
comparison
equal
deleted
inserted
replaced
34944:bf2db35a6fe7 | 34945:d2554ef04d26 |
---|---|
47 file was last changed (after the working directory revision or the | 47 file was last changed (after the working directory revision or the |
48 argument to --rev if given) is printed. | 48 argument to --rev if given) is printed. |
49 | 49 |
50 Please use :hg:`log` instead:: | 50 Please use :hg:`log` instead:: |
51 | 51 |
52 hg children => hg log -r "children()" | 52 hg children => hg log -r "children(.)" |
53 hg children -r REV => hg log -r "children(REV)" | 53 hg children -r REV => hg log -r "children(REV)" |
54 | 54 |
55 See :hg:`help log` and :hg:`help revsets.children`. | 55 See :hg:`help log` and :hg:`help revsets.children`. |
56 | 56 |
57 """ | 57 """ |