[PATCH 3 of 3 V4] revsets: add new topographical sort

Yuya Nishihara yuya at tcha.org
Tue Jun 14 11:27:48 EDT 2016


On Tue, 14 Jun 2016 11:29:13 +0100, Martijn Pieters wrote:
> # HG changeset patch
> # User Martijn Pieters <mjpieters at fb.com>
> # Date 1465838400 -3600
> #      Mon Jun 13 18:20:00 2016 +0100
> # Node ID 341dc88ade307c1fc58a8c6dd2f15b4bbddf4d83
> # Parent  8a697f9c6b29268b9c95b8fc7bbfef8fe9e72ab7
> revsets: add new topographical sort

> +    The ``topo`` sort order cannot be combined with other sort keys. This sort
> +    takes one optional argument, ``topo.firstbranch``, which takes a revset tha
> +    specifies what topographical branches to prioritize in the sort.

s/tha/that/

> +        raise error.ParseError(_(
> +            'The topo sort order cannot be combined with other sort keys'))

Dropped "The" because we generally use a message starting with lowercase letter.


More information about the Mercurial-devel mailing list