bzr fast-import from git fails on utf8 conversion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Fast Import |
Confirmed
|
Medium
|
Unassigned |
Bug Description
on Ubuntu 10.04.3 LTS
I am running an import from a local git repository.
it dies with the following message, after running for a few minutes:
-------
pruning empty directory Development/
12:35:05 8200/18664 commits processed at 1922/minute (40921)
pruning empty directory Development/
ABORT: exception occurred processing commit :41410
bzr: ERROR: exceptions.
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
attaching the crash file
and including a description of the problem.
The crash file is plain text and you can inspect or edit it to remove
private information.
-------
Crash file is attached.
affects: | bzr → bzr-fastimport |
Changed in bzr-fastimport: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
The input file isn't strict utf8, which is tripping bzr-fastimport up. Git doesn't have an explicit encoding, but bzr does.
bzr-fastimport should probably give a better error message in this case, but it can't really import this file without resorting to heuristics.
It should be possible to manually fix up the file by editing the fastimport file.