[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cvs2svn - one repo/module

From: Arnout Standaert <arnout.standaert_at_cit.kuleuven.ac.be>
Date: 2004-02-04 15:09:07 CET

>>Is there a way to tell cvs2svn to convert the CVS modules in one CVS
>>repository to separate SVN repositories?
>
> Yeah, just convert the subdirs that represent your modules. I mean,
> on Unix, you could do something like (typing without trying this, so
> pay attention only to the gist of my idea):
>
> $ cd /path/to/cvs/repos
> $ for module in `ls -1 | grep -v CVSROOT`; do \
> cvs2svn.py --create -s ${module}-svn-repos ${module}; done

Thanks for that!

It works perfectly for most smaller modules. I'm getting errors on some
(mostly larger) CVS modules, I'm getting "KeyError" errors like "250",
"115", "Db", "fed", depending on which module I'm trying to convert.

I know that branches and tags are still a difficult point for cvs2svn,
so I'm just gonna wait for a 1.0 release. But, on the other hand: I'm
using CVSNT on a Windows machine as a CVS server. Maybe the CVSNT
repositories have a slightly different structure, could that be the
cause of the cvs2svn errors?

I'd probably better ask this on the CVSNT mailing list... but any
thoughts are welcome.

Arnout

-- 
BioTeC - Bioprocess Technology and Control
Dept. Chemical Engineering
Katholieke Universiteit Leuven
W. de Croylaan 46
B-3001 Heverlee
Tel.: +32(0)16/32.27.07 (direct) +32(0)16/32.26.76 (secretary)
Fax: +32(0)16/32.29.91
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 4 16:07:05 2004

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.