incorrect export of "conflicting" renames

Bug #285175 reported by Jonas
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar Fast Import
Confirmed
Low
Unassigned

Bug Description

mv a t
mv b a
mv t b

---

The tree changed object will only report a->b and b->a
i.e a "summary" of what has happened.

however, doing this immediate is not possible, as then only one of the files will remain
mv a b
mv b a

---

Solution is to detect the conflict, and introduce a temporary rename

Tags: export
Revision history for this message
Jonas (jonas-annica) wrote :
Revision history for this message
Jonas (jonas-annica) wrote :
Revision history for this message
Jonas (jonas-annica) wrote :
Jonas (jonas-annica)
description: updated
Revision history for this message
Philipp Wolfer (phw) wrote :

I had a similar problem with a deletion of a directory followed by a rename of a file inside the directory. The operations were like this:

D a
R a/b b

Switching those lines in the export stream solves the problem.

tags: added: export
Changed in bzr-fastimport:
importance: Undecided → Low
status: New → Confirmed
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.