[PATCH 2 of 8] children: update help with replacement

Augie Fackler raf at durin42.com
Mon Jan 11 21:07:28 CST 2016


On Sun, Jan 10, 2016 at 01:36:16PM -0600, timeless wrote:
> # HG changeset patch
> # User timeless <timeless at mozdev.org>
> # Date 1452100698 0
> #      Wed Jan 06 17:18:18 2016 +0000
> # Node ID ad3e5e1b9f4d3ec45462d244ea4757a69a954621
> # Parent  190ad6bc502ce70b1a431ff599fe46e49ad5a4cd
> children: update help with replacement

I've taken these two, but need to spend more time on patch 3 than I
have right now before I can review the rest.

>
> diff --git a/hgext/children.py b/hgext/children.py
> --- a/hgext/children.py
> +++ b/hgext/children.py
> @@ -40,6 +40,14 @@
>      be printed. If a file argument is given, revision in which the
>      file was last changed (after the working directory revision or the
>      argument to --rev if given) is printed.
> +
> +    Please use :hg:`log` instead::
> +
> +        hg children => hg log -r 'children()'
> +        hg children -r REV => hg log -r 'children(REV)'
> +
> +    See :hg:`help log` and :hg:`help revsets.children`.
> +
>      """
>      rev = opts.get('rev')
>      if file_:
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list