bzr cannot handle filenames with newlines
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
I am trying to migrate from a git repository to a bzr repository. I've tried many different routes, and have finally been pointed in the direction of bzr-git and bzr git-import command.
Unfortunately, there is a documented issue with this repository - for some reason, one of the revisions involves a filename that has code pasted into it (don't ask me how it happened!)
This particular post (in relation to git-fast-export) details the particular commit that is causing problems:
http://
When I do bzr git-import, the following error is thrown:
bzr: ERROR: The key 'spec/blueprint
_s_slead__in
_s_sscenario
_s_sanswers_
_s_sjustificati
_s_sjustificati
_s_smark_
end
mcq__blueprint.rb' is not a valid key.
Obviously it is in relation to this particular commit. Is this a bzr issue, or a problem with the git-import command not dealing with the filename properly?
summary: |
- bzr git-import cannot handle 'dodgy' filenames + bzr cannot handle filenames with newlines |
affects: | bzr-git → bzr |
the bzr bug is 649250.
As a workaround I think there are tools to filter the fastexport stream which could let you cut out this file.