[PATCH 2 of 2] shelve: allow --patch and --stat without --list when dealing with a single shelf
Sean Farley
sean at farley.io
Fri May 15 11:58:33 CDT 2015
Tony Tung <tonytung at fb.com> writes:
> # 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.
Awesome! Been meaning to look into that, thanks for doing it :-)
More information about the Mercurial-devel
mailing list