"bzr fast-import" fails to import a data dump with rename/copy information
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Fast Import |
Triaged
|
Medium
|
Unassigned |
Bug Description
Since Git version 1.6.0 "git fast-export" has options for detecting and generating file rename/copy information for the output dump. Git itself does not need nor use this information but it can be valuable for other version control systems.
Currently "bzr fast-import" (revision 92) exists with an error when trying to import a dump data which has either rename or copy commands generated by "git fast-export" with options "-M" or "-C". To demonstrate the issue I have attached two dump files.
File git-fast-
20:48:59 WARNING: resets are not supported yet - ignoring reset of 'refs/heads/rename'
bzr: ERROR: The file id "file.txt-
Similarly, attached file git-fast-
20:55:43 WARNING: resets are not supported yet - ignoring reset of 'refs/heads/copy'
bzr: ERROR: The file id "file.txt-
Changed in bzr-fastimport: | |
importance: | Undecided → Medium |
status: | New → Triaged |
And here is the dump from a branch which introduces a file copy.