Comment 1 for bug 818206

Revision history for this message
Martin Pool (mbp) wrote : Re: hide --stacked option to "bzr branch" ?

I think there is definitely a chance to avoid people getting in to trouble here.

Before we get in to possible solutions let's be clear on what we want to allow, encourage, or avoid.

 * Being able to make stacked branches from the command line is useful, at least for developers and for testing
 * Having hidden (but working) options seems likely to confuse people who do have a reason to look for it (a warning might be better, as long as it's easy to recover)
 * Stacking on a remote repository is going to be slow

Some possible solutions:
 * Give a warning when --stacked is used
 * Check there is user documentation of stacking including the drawbacks
 * Show a message when opening a stacked-on branch
 * Create this by init, reconfigure, pull, so the option can be removed from branch
 * Warn (or refuse unless forced) to stack on a branch that's not on the same host as the destination (*)

Is --stacked really safer with --no-tree?