[PATCH 2 of 2 evolve-ext] evolve: add a --list flag to the evolve command

Matt Harbison mharbison72 at gmail.com
Sat Aug 8 20:23:48 CDT 2015


On Fri, 07 Aug 2015 05:28:44 -0400, Laurent Charignon <lcharignon at fb.com>  
wrote:

> # HG changeset patch
> # User Laurent Charignon <lcharignon at fb.com>
> # Date 1438936589 25200
> #      Fri Aug 07 01:36:29 2015 -0700
> # Node ID 03116d88098c586c685d8c3de01769d1b60ffd9f
> # Parent  de3c2a7d18f02eacf45dc7948c8fe4898a040d66
> evolve: add a --list flag to the evolve command
>
> Before this patch, it was complicated to understand all the troubles  
> affecting
> a repository. This patch adds a --list flag to the evolve command  
> displaying
> all the troubles in the repository. It can be used with the --bumped,
> --divergent and --unstable flag to restrict what is to be displayed.
>

[snip]

> diff --git a/tests/test-evolve-order.t b/tests/test-evolve-order.t
> --- a/tests/test-evolve-order.t
> +++ b/tests/test-evolve-order.t
> @@ -57,6 +57,12 @@ Initial setup
>    |/
>    o  0:f92638be10c7 at default(public) add p
> +  $ hg evolve --list
> +  2 unstable changesets:
> +  - [2] add _b
> +  - [3] add _c
> +  No divergent changesets
> +  No bumped changesets

Since Mercurial is usually pretty quiet when all is well, maybe the "No  
$trouble changesets" lines shouldn't be displayed without --verbose?   
Nothing would display if there are no troubles, but that's similar to  
'resolve --list' when there's no merge.


More information about the Mercurial-devel mailing list