[PATCH 2 of 2] shelve: allow --patch and --stat without --list when dealing with a single shelf

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri May 15 03:03:27 CDT 2015



On 05/14/2015 09:43 PM, Tony Tung wrote:
> # HG changeset patch
> # User Tony Tung <tonytung at fb.com>
> # Date 1429043034 14400
> #      Tue Apr 14 16:23:54 2015 -0400
> # Node ID aa5ee59328fcd86628f5d0b2f23cf5cef239b85f
> # Parent  78db3bff2fcfdaeb2e50f979454e59e707f26427
> shelve: allow --patch and --stat without --list when dealing with a single shelf
>
> It's annoying having to specify --list and --patch/--stat when all you
> really want to do is to dump a patch.  This creates an explicit
> --patch/--stat command that is executed if --list is not specified.  It
> ensures that 1) there is only one shelf name specified and 2) that the
> shelf exists.  Then it redirects to the original listcmd code.

These two looks great to me. Thanks

They are now pushed to the clowncopter.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list