[PATCH 2 of 4 V2] shelve: add a shelve extension to save/restore working changes

Laurens Holst laurens.nospam at grauw.nl
Wed Oct 2 05:56:15 CDT 2013


Op 02-10-13 12:19, harry schreef:
> David Soria Parra-3 wrote
>> It is possible to do everything with obsolete markers and phases (like
>> it would be possible to do with mq), but shelve is a much more
>> convenient way to move around temporary changes and clean the working
>> directory for a short period while doing other.
> I'm not asking why we need a shelve extension, just why unbundling the
> changes is better than hidden changesets. Every change to the anscestors
> should rebase the shelf if it was still in the graph, which would seem to be
> an improvement over trying to merge everything at once when unshelving.

Indeed.

Or the shelf wouldn’t even need to be rebased, just marked as obsolete 
and then “stabilised” once the shelf gets unshelved. I guess this 
depends on amend behaviour for non-head changesets.

~Laurens



More information about the Mercurial-devel mailing list