emacs-devel
[Top][All Lists]
Advanced

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

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


From: Dan Nicolaescu
Subject: Re: support for bzr shelve/unshelve in vc-dir
Date: Thu, 3 Dec 2009 17:47:39 -0800 (PST)

"Stephen J. Turnbull" <address@hidden> writes:

  > 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.

A several months old bzr tree happens to be my playground for testing
VC changes on bzr.
I changed "delete_shelf" to always be True in bzrlib/shelf_ui.py, and
now "bzr unshelve --apply" does not remove shelves, and they seem to be
valid and can be applied multiple times.




reply via email to

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