[PATCH 4 of 4 evolve-ext] evolve: improve the help message of --rev

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed May 6 12:28:53 CDT 2015



On 05/05/2015 06:22 PM, Laurent Charignon wrote:
> # HG changeset patch
> # User Laurent Charignon <lcharignon at fb.com>
> # Date 1430875240 25200
> #      Tue May 05 18:20:40 2015 -0700
> # Node ID c182c649eae81e38a64574329ecc904ff169542f
> # Parent  dee3756a1deb516c63a961ed8d2d438bd85a0baa
> evolve: improve the help message of --rev

I took this one, thanks. (should have been patch 1)

reviewing this I also spotted that you are using '' as default value. 
this meaning that only single --rev option can be passed. For commands 
that can affect multiple revision, we use [] the default value, that 
lets the user specify multiple --rev options. The returned option is 
then a list.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list