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

Bryan O'Sullivan bos at serpentine.com
Wed May 29 16:00:57 CDT 2013


On Tue, May 28, 2013 at 4:28 PM, Bryan O'Sullivan <bos at serpentine.com>wrote:

> This extension saves shelved changes using a temporary draft commit,
> and bundles all draft ancestors of the temporary commit.
>

I should clarify: we create a draft commit, bundle it and its draft
ancestors, and then strip the temporary commit. That means that the shelved
commit is not present in history; does not interfere with mq; but still
uses normal Mercurial machinery (including support for merges and
conflicts!) instead of something ad hoc like patches.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130529/f62c62f6/attachment.html>


More information about the Mercurial-devel mailing list