["funky" crash on some Cygwin imports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CVS to Bazaar importer |
Triaged
|
Medium
|
Unassigned |
Bug Description
Bazaar 1.0, cvs-import rev 58, WinXP+Cygwin platform: A recent cvs-import attempt produced the following sequence ("CVSRootPath," "proj," and "company" are path generalizations):
bzr cvsps-import /<CVSRootPath> company/proj proj
Creating cvsps dump file: proj/staging/
Read 306 patchsets (string cache hits: 0, total: 525)
Failed while processing: Patchset(17, HEAD, dlee, 2004/01/16 17:09:27)
Processed 17 patches (17 new, 0 existing) on 1 branches (1 tags) in 8.4s (2.03 patch/s)
bzr: ERROR: rrno 2] No such file or directory: '/home/
The tag directory actually does not exist at the time of the error. The crashed process leaves behind a .cvsps directory that must be deleted manually, or the next import attempt dies quickly with a "not found in cache" error.
When 'cvsps' encounters a tag that doesn't quite make sense (say some files are at newer revisions than could exist) it emits a tag that ends with '**FUNKY**'. However, the '*' is not valid as a win32 filename.
A possibly fix is to just squash '*' to something else like '_' (if you are on win32/cygwin only?)
Another fix is to omit those tags completely. I think there are more than just **FUNKY**, but I'm not sure all of what cvsps can emit.