Discussion:
CVS help needed!
Cathy Arakaki
2011-12-12 17:13:18 UTC
Permalink
I am looking for CVS support. I have a CVS repository that is missing the
CVSROOT file and I am trying to convert to SVN so I need the CVSROOT file.
Is there a way to recreate it? Also, when I try to do the conversion on
other folders I have come up with many malformed files that cannot be
converted. How do you fix the files so the conversion can take place?
Please help - it is vital that the files are converted before the end of
the year!

Cathy Arakaki
Subversion Control Manager
310-616-1148
Spiro Trikaliotis
2011-12-12 20:13:02 UTC
Permalink
Hello Cathy,
Post by Cathy Arakaki
I am looking for CVS support. I have a CVS repository that is missing the
CVSROOT file and I am trying to convert to SVN so I need the CVSROOT file.
Is there a way to recreate it?
Just to be sure: DO THIS ONLY ON A LOCAL COPY OF THE CVS REPOSITORY, to
be on the safe side.

The first question is: WHY isn't there a CVSROOT directory? In most
cases, you will have one. In most cases, if you do not have it, then you
doing something wrong. Are you sure you are operating on the repository
("the server side files" of CVS), not in a sandbox ("the client side
files" of CVS)?

If you are absolutely sure you are doing everything right, but the
CVSROOT directory is missing anyway, you can create it with "cvs init".

Assuming you have the repository in /path/to/my/repository, just do a

$ cvs -d /path/to/my/repository init

and the CVSROOT directory is created automatically.
Post by Cathy Arakaki
Also, when I try to do the conversion on
other folders I have come up with many malformed files that cannot be
converted.
What other folders? In which way are the files malformed?

Do you - by any chance - have a CVSNT repository, not a CVS one? Note
that CVSNT is a different beast, and most tools - including cvs2svn -
do NOT support CVSNT.


Can you tell me/us the exact version of CVS that was used to create the
repository? The output of "cvs version" would help a lot.

Best regards,
Spiro.
--
Spiro R. Trikaliotis http://opencbm.sf.net/
http://www.trikaliotis.net/ http://vice-emu.sf.net/
Loading...