[PATCH 2 of 2 v2] log: help provide sort by date example

Augie Fackler raf at durin42.com
Wed Jan 6 18:29:16 CST 2016


On Wed, Jan 06, 2016 at 01:56:49AM -0600, timeless wrote:
> # HG changeset patch
> # User timeless <timeless at mozdev.org>
> # Date 1452066957 0
> #      Wed Jan 06 07:55:57 2016 +0000
> # Node ID 394d387335f2609256a475e3dd15ad11f9218b5e
> # Parent  a5a9e00cc53cb980ca61b88aa820d38dacfd481b
> log: help provide sort by date example

Queued, thanks.

>
> diff --git a/mercurial/commands.py b/mercurial/commands.py
> --- a/mercurial/commands.py
> +++ b/mercurial/commands.py
> @@ -3848,6 +3848,10 @@
>
>            hg log --debug -r .
>
> +      - show revisions sorted by date::
> +
> +          hg log -r 'sort(all(), date)'
> +
>      See :hg:`help revisions` and :hg:`help revsets` for more about
>      specifying revisions.
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list