["funky" crash on some Cygwin imports

Bug #180408 reported by Doug Lee
2
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/company_proj.dump
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/Doug/proj/bzr/company/proj/tags/proj_rel040116 **FUNKY**'

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.

Revision history for this message
John A Meinel (jameinel) wrote :

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.

Revision history for this message
John A Meinel (jameinel) wrote :

For now, the workaround is to convert on a different platform that can support the '*' character. I know this isn't optimal

Changed in bzr-cvsps-import:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.