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

Re: SVN -> CVS replication

From: Ove Kaaven <ovek_at_arcticnet.no>
Date: 2004-03-11 23:54:15 CET

tir, 09.03.2004 kl. 22.06 skrev Sam Hocevar:
> I suppose there are dozens of similar scripts out there, but since
> I could not find a satisfyingly working one, I started working on my
> own version of a "SVN back to anonymous CVS" replication script which
> handles file removals and branches (it also supports branches that have
> different names in SVN and CVS).
>
> You can have a look at the shell script and its documentation here:
>
> http://sam.zoy.org/writings/programming/svn2cvs.html
>
> Comments highly appreciated!

Cool. But now I just have to plug my own script... sorry for that. It's
at http://www.ping.uio.no/~ovehk/svn/svn2cvs.py and can also replicate a
SVN repository into CVS. It doesn't use post-commit information, it uses
svn update, which is probably somewhat less efficient, but that means it
doesn't have to run on the repository machine; with it, anyone can
mirror a SVN repository into CVS, even without permission from the SVN
repository's owner, by running my script from crontab. However, it's
currently written to build a new CVS repository from scratch, rather
than injecting commits into an existing CVS repository. But it supports
creating branches and tags. But making it possible to update the
originally converted CVS repository sounds like an interesting feature,
which perhaps I could use myself once cvs2svn has fixed all the bugs
stopping us from migrating... hmm...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 11 23:54:39 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.