stacking on a remote branch is slow; perhaps should warn
Bug #818206 reported by
Jelmer Vernooij
This bug report is a duplicate of:
Bug #791704: 'bzr branch --stacked' makes empty repo then builds a working tree with inefficient fetching.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
A user was complaining in #bzr today that various bzr commands would download a large part of his history. This turned out to be because of --stacked, which was apparently recommended to him by somebody.
Possibly there should be something to prevent/
tags: | added: confusing-ui stacking ui |
To post a comment you must log in.
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?