export crashes with 'Path ... not in branch' if folder to be removed has same name as file
Bug #1167690 reported by
Christian Verkerk
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Fast Import |
New
|
Undecided
|
Unassigned |
Bug Description
Given the following commit:
Removed:
dev/scripts/
Renamed:
dev/scripts/
The following gets output by bzr fast-export
D dev/scripts/
R dev/scripts/
In this case the renamed file is equivalent to the folder name that was removed. Using --plain remove instructions are not sent for directories, however bzr export doesn't check whether the item is a file or a directory and incorrectly issues a remove command for the file.
Related branches
lp:~unit193/bzr-fastimport/deletion-fixes
- Richard Wilbur: Needs Information (needs test(s))
- Bazaar Developers: Pending requested
-
Diff: 61 lines (+23/-0)1 file modifiedexporter.py (+23/-0)
To post a comment you must log in.