Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: cvs2svn problem

cvs2svn
Discussion topic

Hide all messages in topic

All messages in topic

Re: cvs2svn problem

Author mhagger
Full name Michael Haggerty
Date 2012-01-13 00:08:25 PST
Message 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\pr​oject12\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
mhagger at alum dot mit dot edu
http://softwareswirl​.blogspot.com/

RE: (Revised) cvs2svn problem

Author joseph1e9
Full name joseph
Date 2012-01-12 23:53:36 PST
Message Sorry. I forgot to list some detail.
Python 2.7.2cvs2svn 2.3.0Cvsnt server 2.5.04.3236

Thank you.

From: marcus_leung21 at hotmail dot com dot hk
To: users at cvs2svn dot tigris dot org
Subject: cvs2svn problem
Date: Fri, 13 Jan 2012 03:46:27 +0000







Dear Sir,
I found some problems when I was doing conversion using cvs2svn. My platform is Windows 7 with CVSNT. I know cvs2svn might not completely support for CVSNT but I still have to do the conversion for my company. Therefore, I hope you could kindly offer me a help. Thank you very much from the bottom of my heart. There are three problems in the moment. My command used is "Python
cvs2svn --use-cvs --encoding=UTF-8 --encoding==Big5

--dumpfile=C:\output.dump
C:\repository\folder"


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."
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"
The final problem is that during "pass 1 examining all CVS ',v' files..." , it frequently revealed similar warnings which are "WARNING : in ''C:\repository\pr​oject12\file1,v' : branch ''1.1.1" already has name 'company' , cannot also have name 'GNU' , ignoring the latter".
If you want more information for accurate interpretation, feel free to tell me. Once again, Thank you very much.
Best Regards,Marcus
Attachments

cvs2svn problem

Author joseph1e9
Full name joseph
Date 2012-01-12 19:46:29 PST
Message Dear Sir,
I found some problems when I was doing conversion using cvs2svn. My platform is Windows 7 with CVSNT. I know cvs2svn might not completely support for CVSNT but I still have to do the conversion for my company. Therefore, I hope you could kindly offer me a help. Thank you very much from the bottom of my heart. There are three problems in the moment. My command used is "Python
cvs2svn --use-cvs --encoding=UTF-8 --encoding==Big5

--dumpfile=C:\output.dump
C:\repository\folder"


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."
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"
The final problem is that during "pass 1 examining all CVS ',v' files..." , it frequently revealed similar warnings which are "WARNING : in ''C:\repository\pr​oject12\file1,v' : branch ''1.1.1" already has name 'company' , cannot also have name 'GNU' , ignoring the latter".
If you want more information for accurate interpretation, feel free to tell me. Once again, Thank you very much.
Best Regards,Marcus
Attachments
Messages per page: