[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: Dan Nicolaescu
Subject: Re: support for bzr shelve/unshelve in vc-dir
Date: Thu, 3 Dec 2009 11:17:49 -0800 (PST)

Óscar Fuentes <address@hidden> writes:

  > Dan Nicolaescu <address@hidden> writes:
  > >   > Further discussion on the bazaar ml indicates that using 
  > >   > is not a good idea.
  > >
  > > Can you please forward 2 feature requests for shelve/unshelve then:
  > > 1. some way to show the diff
  > This is underway.

Good, code to support it is there, but commented out.

  > > 2. something similar to "git stash apply", i.e. apply the shelf but do
  > > not remove it.  This makes it easy to split changes for example.
  > Would you care to describe a plausible scenario where this is useful?
  > I can't think of one rigth now.

Say you have something shelved.
You want to try to refine the change, unshelve it and continue working
on it.  If you realize that what you had before was better, there's no
easy way to go back.
Or if you want to split a change: 
remove the part you don't want
shelve the partial change
unshelve the original
remove some other part
shelve again

reply via email to

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