cannot join more than two projects after importing from git

Bug #822562 reported by Francesco Chiechi
This bug report is a duplicate of:  Bug #351317: git: file ids are not very unique. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

this is a riedition fo Bug #370710:

if I import three or more projects from git an then try to join them, I succeed in joining the first two, but I get
"ERROR: File id {TREE_ROOT} already exists" when importing the third

I searched in the code but I don't have enough knowledge to find and propose a solution

I think it has something to do with these lines in bzrlib/inventory.py:

# This should really be an id randomly assigned when the tree is
# created, but it's not for now.
ROOT_ID = "TREE_ROOT"

or maybe in the way Inventory is initialized in pre_process_files() in plugins/fastimport/bzr_commit_handler.py

thankyou for your work

Revision history for this message
Francesco Chiechi (francesco-chiechi) wrote :

Sorry for the duplication (I didn't find it searching).

Anyway I don't understand if there is a solution for this problem (I mean joining projects imported from git)

thankyou again

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.