merging of branches with nested trees fails when commiting with error about multiple write groups
Bug #141456 reported by
Martin Wimmer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I have a branch that has 3 nested trees that have been joined to the main tree by reference
Some time ago I branched it to implement an experimental feature, and now I wanted to merge it back to the trunk.
bzr merge worked like a charm, and also merged the subtrees.
The commit fails with: "bzr: ERROR: already in a write group"
I use Version 0.90.1 - ubuntu
I can commit any of the subtrees, but its impossible to commit the branch itself.
I hope you can fix this soon, as I don't know how to work around this bug.
After some testing I need to correct this:
The error "Already in a write group" seems to be a general error in 0.90.1 when working with subtrees.
I get it anytime I work with subtrees that are joined by reference... This seems to be a separate bug.
I only upgraded to the new version in the hope that merging will work there. Before I worked with 0.15.0 ubuntu.
The error message I get there is following: AssertionError:
bzr: ERROR: exceptions.
Traceback (most recent call last): python2. 5/site- packages/ bzrlib/ commands. py", line 650, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 612, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 304, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ builtins. py", line 2118, in run reporter) python2. 5/site- packages/ bzrlib/ decorators. py", line 165, in write_locked python2. 5/site- packages/ bzrlib/ workingtree_ 4.py", line 244, in commit commit( self, message, revprops, *args, **kwargs) python2. 5/site- packages/ bzrlib/ decorators. py", line 165, in write_locked python2. 5/site- packages/ bzrlib/ mutabletree. py", line 160, in commit revprops, *args, **kwargs) python2. 5/site- packages/ bzrlib/ commit. py", line 319, in commit _populate_ new_inv( ) python2. 5/site- packages/ bzrlib/ commit. py", line 656, in _populate_new_inv python2. 5/site- packages/ bzrlib/ repository. py", line 2089, in record_ entry_contents repository. get_transaction ()) python2. 5/site- packages/ bzrlib/ inventory. py", line 211, in find_previous_heads ie.revision] == ie
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
reporter=
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
result = WorkingTree3.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
revprops=
File "/usr/lib/
self.
File "/usr/lib/
path, self.work_tree)
File "/usr/lib/
self.
File "/usr/lib/
assert candidates[
AssertionError