vcs:cvs2svnconversion
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vcs:cvs2svnconversion [2008/10/31 04:19] – reorg and automation gwynne | vcs:cvs2svnconversion [2019/08/26 16:54] (current) – gwynne | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Complete ====== | ||
+ | |||
+ | The SVN migration was completed in July 2009. This document has been retained for historical purposes. | ||
+ | |||
+ | |||
====== CVS to SVN Migration Path ====== | ====== CVS to SVN Migration Path ====== | ||
Line 32: | Line 37: | ||
I have the CVS repository stored in a directory called " | I have the CVS repository stored in a directory called " | ||
<code bash> | <code bash> | ||
- | ./cvs2svn --svnrepos=./ | + | ./cvs2svn --svnrepos=./ |
+ | --dry-run --no-cross-branch-commits | ||
+ | --username=svnconvert | ||
+ | --cvs-revnums --use-cvs | ||
+ | --tempdir=/ | ||
</ | </ | ||
Line 380: | Line 389: | ||
</ | </ | ||
- | Whew. That was going to make for a //very// long options file where it was very easy to make copypasta errors. I needed to add a little Python code. How does one do foreach (array(// | + | Whew. That was going to make for a //very// long options file where it was very easy to make copypasta errors. I needed to add a little Python code. How does one do foreach (array(// |
We came up with this rather handy little bit of code: | We came up with this rather handy little bit of code: | ||
Line 916: | Line 925: | ||
That done, I looked back at the reorganization mess. It looked like there would in fact be a few separate repositories for things like PEAR and GTK. I needed advice on this one, so I went to the mailing list. They wanted to know, "why separate repositories?" | That done, I looked back at the reorganization mess. It looked like there would in fact be a few separate repositories for things like PEAR and GTK. I needed advice on this one, so I went to the mailing list. They wanted to know, "why separate repositories?" | ||
+ | |||
+ | So I rewrote the conversion script completely to support this premise, and contacted various people to find out what to do with the " | ||
+ | |||
+ | ===== Hook scripts ===== | ||
+ | |||
+ | At a glance it might seem that would be the end of it. But unfortunately, | ||
+ | * Access Control Lists - replaced by the SVN authz database | ||
+ | * commitinfo.pl - I couldn' | ||
+ | * cvswrappers - Replaced by SVN's autoprops | ||
+ | * loginfo.pl - Sends the e-mails to various mailing lists when commits happen | ||
+ | * modules - Replaced by svn: | ||
+ | * readers - Replaced by SVN's authz database | ||
===== Available for the curious ===== | ===== Available for the curious ===== | ||
Line 923: | Line 944: | ||
</ | </ | ||
- | This will check out all the projects in the repository; it's suggested to specify a particular module like < | + | This will check out all the projects in the repository; it's suggested to specify a particular module like [[http:// |
vcs/cvs2svnconversion.txt · Last modified: 2019/08/26 16:54 by gwynne