« My List of Firefox Extensions | Main | How to setup Squirrel SQL 2.0rc1 on Mac OS X Tiger »

June 09, 2005

Converting CVS to SVN

cvs2svn utility can be used to convert existing cvs repository to subversion.
Unfortunately, cvs2svn conversion script does not support project-based repository layout.
It means that you cannot create separate trunk/branches/tags for each project in your repository using just cvs2svn.

An easy workaround is to convert each project separately and then move trunk/branches/tags under the project:

For example,

cvs2svn --existing-svnrepos --username=svn -s /home/svn /home/cvs/myproject

svn move file:///home/svn/trunk file:///home/svn/myproject/trunk -m ""

svn move file:///home/svn/branches file:///home/svn/myproject/branches -m ""

svn move file:///home/svn/tags file:///home/svn/myproject/tags -m ""

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/3087162/31463330

Listed below are links to weblogs that reference Converting CVS to SVN:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Theres a workaround for this: dump your CVS repository into a dumpfile and then load it into a Subversion repository using svnadminparent-dir projectname.

Post a comment

If you have a TypeKey or TypePad account, please Sign In