[merge-package] ERROR: exceptions.ValueError: Cannot have multiple roots.

Bug #499651 reported by Andrew Starr-Bochicchio
This bug report is a duplicate of:  Bug #494269: tree transform cannot change root id. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-builddeb
New
Undecided
Unassigned

Bug Description

Attempting:

bzr branch lp:ubuntu/qbzr
cd qbzr
bzr merge-package lp:debian/sid/qbzr

Results in:

 Traceback (most recent call last):
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 842, in exception_to_return_code
     return the_callable(*args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1037, in run_bzr
     ret = run(*run_argv)
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 654, in run_argv_aliases
     return self.run(**all_cmd_args)
   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/cmds.py", line 911, in run
     fix_ancestry_as_needed(tree, source_branch)
   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/merge_package.py", line 144, in fix_ancestry_as_needed
     None, source.repository.revision_tree(us_revid))
   File "/usr/lib/python2.6/dist-packages/bzrlib/mutabletree.py", line 53, in tree_write_locked
     return unbound(self, *args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree.py", line 2067, in revert
     report_changes)
   File "/usr/lib/python2.6/dist-packages/bzrlib/transform.py", line 2478, in revert
     working_tree, target_tree, tt, filenames, backups, pp)
   File "/usr/lib/python2.6/dist-packages/bzrlib/transform.py", line 2505, in _prepare_revert_transform
     merge_modified, basis_tree)
   File "/usr/lib/python2.6/dist-packages/bzrlib/transform.py", line 2607, in _alter_files
     tt.adjust_path(name[1], parent_trans, trans_id)
   File "/usr/lib/python2.6/dist-packages/bzrlib/transform.py", line 1101, in adjust_path
     TreeTransformBase.adjust_path(self, name, parent, trans_id)
   File "/usr/lib/python2.6/dist-packages/bzrlib/transform.py", line 170, in adjust_path
     raise ValueError("Cannot have multiple roots.")
 ValueError: Cannot have multiple roots.

Tags: udd
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

I'm seeing the same thing with vim. Crash file attached.

Revision history for this message
Michael Bienia (geser) wrote :

Bug #490039 mentions the same error message, don't know if they are related.

Revision history for this message
Colin Watson (cjwatson) wrote :

They are indeed. Following the dup chain, I applied the patch from bug 494269 to bzr (2.0.3) and that fixed the problem. Feel free to mark this bug as another duplicate if that's appropriate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.