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

Re: CVS to SVN mirror

From: Fabian Cenedese <Cenedese_at_indel.ch>
Date: 2006-03-07 12:08:57 CET

>I have a third party development team working locally using CVS and I have a SVN cvs in my office and want to setup a mirror of projects on theirs, to be updated once a day, and include any revision info.
>
>I can check code out and import it into a new SVN project at my end. Now If i then wait a day and refresh the copy of their code at my end, what would be the correct steps to updating my SVN with that new revision?
>
>Additionally, i've looked at the cvs2svn script but that only appears ( and i could be wrong but they never got back to me ) to work when you're converting from a local cvs repository to svn, it won't work with checked out code from a cvs to them import.
>
>If anyone has any experience of, or any useful suggestions, it would be much appreciated.

If you only update once a day then you won't mind the commits in between,
just the end result. In that case I'd export from their cvs repo, copy the files
over a local svn working copy and commit this, preferably with their commit
messages which you might get with cvs -r last:new log or something. But
that won't handle deleted or added files.

Safest but also most complicated would be a script which reads all the
necessary info from cvs and reproduces all steps to your local svn.

bye Fabi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 7 12:11:27 2006

This is an archived mail posted to the Subversion Users mailing list.