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

Sean Farley sean at farley.io
Wed Apr 22 13:39:09 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 1a8102b514cac54453cea434441ea0d95dd7a18b
> # Parent  0908f943058e2c1a07ed6f542f01ea74f65b9dd4
> 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.

This series looks cool but unfortunately we're in a code freeze right
now:

http://mercurial.selenic.com/wiki/TimeBasedReleasePlan#Code_Freeze

It'd be great to see this series after May 1st :-)


More information about the Mercurial-devel mailing list