[rfc] 'bzr reconfigure --stacked-on/--no-stacked'

Martin Pool mbp at canonical.com
Tue Dec 2 00:15:39 GMT 2008

On Tue, Dec 2, 2008 at 9:39 AM, Aaron Bentley <aaron at aaronbentley.com> wrote:
> Martin Pool wrote:
>> There is at present no user-accessible way to change a branch between
>> being stacked on another repository, and containing all its history in
>> its own repository.  I think there should be.  It would be useful in
>> general, and in particular as a workaround if people are having
>> trouble with stacking on Launchpad, which suggests that setting for
>> some projects.  Basically this is just to expose the
>> Branch.set_stacked_on() call.
> I certainly agree with "reconfigure --no-stacked".  What would
> --stacked-on do?  Stack the branch and replace its repository with one
> that only had the bare minimum?

I think it should do what set_stacked_on() does, which is add the
stacking pointer but not remove any data from the repository (which I
agree would be problematic.)  This is still useful, at least in the
case where the branch is empty.

Martin <http://launchpad.net/~mbp/>

More information about the bazaar mailing list