want "reconfigure --unstacked" or --stacked-on
Bug #391411 reported by
Martin Pool
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Martin Pool |
Bug Description
It would be useful to have a reconfigure option to change an existing branch to be stacked or not stacked.
When reconfiguring to be unstacked this would need to copy enough data into the branch to let it work standalone. I believe that's already done inside the library, so all this needs to to give a UI.
If this existed it would be a workaround for bug 391405.
Related branches
lp://staging/~mbp/bzr/391411-reconfigure-stacked
- Ian Clatworthy: Needs Fixing
- Diff: 656 lines
Changed in bzr: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in bzr: | |
status: | Confirmed → In Progress |
tags: | added: reconfigure |
Changed in bzr: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This branch <https:/ /code.edge. launchpad. net/~mbp/ bzr/391411- reconfigure- stacked> does add the requested options, but in an ad hoc test against Launchpad it fails with LockNotHeld: Lock not held: RemoteRepositor y(bzr+ssh: //bazaar. launchpad. net/~bzr- core/bzr/ devnotes/ .bzr/)
29.145 Traceback (most recent call last): mbp/bzr/ 391411- reconfigure- stacked/ bzrlib/ commands. py", line 835, in exception_ to_return_ code mbp/bzr/ 391411- reconfigure- stacked/ bzrlib/ commands. py", line 1030, in run_bzr mbp/bzr/ 391411- reconfigure- stacked/ bzrlib/ commands. py", line 647, in run_argv_aliases **all_cmd_ args) mbp/bzr/ 391411- reconfigure- stacked/ bzrlib/ builtins. py", line 5288, in run mbp/bzr/ 391411- reconfigure- stacked/ bzrlib/ remote. py", line 2250, in unlock repository. unlock( ) mbp/bzr/ 391411- reconfigure- stacked/ bzrlib/ remote. py", line 1028, in unlock LockNotHeld( self) y(bzr+ssh: //bazaar. launchpad. net/~bzr- core/bzr/ devnotes/ .bzr/)
File "/home/
return the_callable(*args, **kwargs)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
branch.unlock()
File "/home/
self.
File "/home/
raise errors.
LockNotHeld: Lock not held: RemoteRepositor