Re: NTCVS to Subversion conversion tool
From: Trevor Schaffer <TrevorSchaffer_at_smarttech.com>
Date: Thu, 17 Jan 2008 12:40:42 -0700
Assuming you want all revision history, this might help. If you don't want revision history, then all of this is a moot point.
I’ve done this on some very large repositories, and it can be done, if you take great care (or keep trying it until it works)
The cvs2svn script works for CVSNT for 95% of what you need to do. The only parts that might fail are if you save files as Unicode. CVSNT fakes Unicode by saving the file as UTF-8, and expands it during update/checkout. This can be "fixed" by changing the CVS files to mark these Unicode files as binary files, then convert them later.
Flags to look for in CVS files:
Finally, since cvs2svn takes the entire revision history, if there are any files in the repository that are corrupt at only certain revisions (which CVSNT has been known to do... a lot), you may have to either "massage" the *,v file to make the revision clean, or remove that file completely, and check it back in manually.
Just ensure that if you get the cvs2svn script to go through successfully, do a full checkout of the branches that you need to work on, and do a full recursive diff of the same revision on CVS to ensure that the data is in fact the same, then fix the files that didn't make it.
> Feed: Subversion-users Mailing List Threads
> Can anyone send me a link or more information about a conversion utility for converting out of NTCVS and > into Subversion? If a utility does not exist, has anyone done this before? If so, how much of a bear was > it to do the conversion? Thanks ...
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.