Converting large CVS repositories

Ulrich Spoerlein uspoerlein at gmail.com
Fri Aug 10 13:06:53 CDT 2007


On Tue, 07.08.2007 at 18:12:56 +0300, Giorgos Keramidas wrote:
> I think the first thing we can do is find out which parts of the CVS
> tree of FreeBSD src/ contain repo-surgery which confuses fromcvs.
> 
> I haven't tried fromcvs yet, but I can do this over the weekend (in case
> it takes a long time).  In the meantime, if you have already identified
> parts of the CVS tree which we can focus on, that would be great.

You should give cvs2svn v2.0 a spin. It is reasonably fast at scanning
the CVS repo and will issue several warnings about repository
ambiguities. These are probably the same issues fromcvs has trouble
with.

It reports three classes of errors, which it can't/won't handle
automatically:

src:
1. multiple definitions of RCS symbols (I can send you a list)
2. a directory, which previously has been a file
ERROR: Directory name conflicts with filename.  Please remove or rename one
of the following:
    "/data/ncvs/src/usr.sbin/pkg_install/pkg"
    "/data/ncvs/src/usr.sbin/pkg_install/Attic/pkg,v"


ports:
3. tab/branch confusion
    'ache' is a tag in 211 files, a branch in 129 files and has commits in 129 files
    'old_ache' is a tag in 20 files, a branch in 4 files and has commits in 4 files
    'V1_0' is a tag in 5 files, a branch in 3 files and has commits in 3 files
    'itojun' is a tag in 7 files, a branch in 4 files and has commits in 4 files
    'nakai' is a tag in 5 files, a branch in 24 files and has commits in 24 files


Cheers,
Ulrich Spoerlein
-- 
It is better to remain silent and be thought a fool,
than to speak, and remove all doubt.


More information about the Mercurial mailing list