[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: support for bzr shelve/unshelve in vc-dir

From: Stephen J. Turnbull
Subject: Re: support for bzr shelve/unshelve in vc-dir
Date: Fri, 04 Dec 2009 09:42:44 +0900

Dan Nicolaescu writes:

 > I know nothing about bzr, but unshelve --keep is gotta be trivial to
 > implement... 

It's not, because the shelf is kept in the history.  Unshelving needs
to rewind the history so that tip points to the pre-shelve revision.
bzr has no refs, so recovering the shelved revision after an unshelve
is non-trivial.  It may not be hard, either, except that for it to be
reliable may require the bzr developers to make promises about internal
storage management.

Looms (requires an incompatible branch format) and pipelines (like
Mercurial queues or Stacked Git) provide the necessary scaffolding.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]