Re: cvs2svn problem
Michael Haggerty <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
On 01/13/2012 04:46 AM, joseph wrote: > I found some problems when I was doing conversion using cvs2svn. [...] > The first one is "ERROR: 'c:\\repository\\a\\b\\c\\x.1.0.3.tar,v' is > not a valid , v file Exited due to fatal error(s)". I've read faq on > this problem but I am not quite sure the point three statement"Hand-fix > the file as best you can by opening it in a binary editor and trying to > put it back in RCS file format (documented in the rcsfile(5) manpage). > Often it is older revisions that are affected by corruption; you might > need to delete some old revisions to salvage newer ones." Yes, this is usually caused by some kind of corruption in your CVS repository. It can sometimes be fixed by hand by somebody who knows the RCS file format. > The second problem is "ERROR: The command ' cvs -q -R -f -d > C:\\repository\\project20 co -r1.1 -p CVSROOT/ checkoutlist' failed with > exit status=1 cvs checkout: User John cannot read CVSROOT on tag/branch > 1.1" This sounds like a permissions problem. cvs2svn is trying to run the specified cvs command to extract the contents of a revision of a file, but the command is failing with the specified error message. You can try running the cvs command by hand; probably you will get the same error. Fix permissions or whatever to get the command to work manually and then it should also work for cvs2svn. > The final problem is that during "pass 1 examining all CVS ',v' > files..." , it frequently revealed similar warnings which are "WARNING : > in ''C:\repository\project12\file1,v' : branch ''1.1.1" already has name > 'company' , cannot also have name 'GNU' , ignoring the latter". For some reason you have some branches that have two names. You can ignore these messages (though then you might get a mishmash of the two names) or you can try to tell cvs2svn which branch name to ignore using an IgnoreSymbolTransform. Michael -- Michael Haggerty [email protected] http://softwareswirl.blogspot.com/ ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2908462 To unsubscribe from this discussion, e-mail: [[email protected]].