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

RE: CVS to Subversion Migration

From: Geir Engebakken <geir.engebakken_at_edb.com>
Date: Fri, 22 May 2009 13:46:06 +0200

What we have done is as first step create a full dump of the CVS repository, then use the svndumpfilter to filter out paths we don’t want, i.e. old branches, tags and some times large lib folders containing jar files that we from now on want to access from a maven repository. As svndumpfilter is a little bit dumb, it has problems when some nodes have been copied from filtered-away nodes, so then we have to include those as well.

Geir
-----Original Message-----
From: David Weintraub [mailto:qazwart_at_gmail.com]
Sent: 20. mai 2009 17:17
To: Mark-E
Cc: users_at_subversion.tigris.org
Subject: Re: CVS to Subversion Migration

cvs2svn does a good job at importing tags and branches. You specify in
the configuration file or on the command line how to setup the
branches and tags, and cvs2svn follows it well.

In fact, what we did was remove lots of the old tags than no longer
made sense. I wrote a Perl script to go through the CVS files removing
these tags. Then, we did the conversion.

What you might want to do is have cvs2svn throw the CVS tags in a
directory like tags/CVS instead of just tags, and then copy over the
tags that you want to keep to the tags directory itself. That way, the
tags directory isn't filled with thousands of tags that mean nothing
to the developers.

We should have done that. That would have been easier than
manipulating the CVS files in the first place.

On Tue, May 19, 2009 at 12:00 PM, Mark-E <meramo_at_hbs.edu> wrote:
> Thanks to everyone for their replies. I do have another question concerning
> cvs2svn.
>
> We have a lot of tags and branches in our CVS repository and I was wondering
> when using the cvs2svn script if it will import tags and branches properly.
>
> For example, I want to setup the repository in the defaults format of
>
> project foo
>  - trunk
>  - branches
>  - tags
>
> When I export a project from CVS that has say 10 tags, I would hope that the
> cvs2svn script will see each tag and build them out properly in the tags
> folder.
>
> Can anyone provide we with some real life details on how this might have
> worked for them. Thanks!
>
> Regards,
> Mark
>
>
>
> We do this, no problem at all.
>
> Geir
>
> --
> View this message in context: http://www.nabble.com/CVS-to-Subversion-Migration-tp23300789p23619284.html
> Sent from the Subversion Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2314713
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

-- 
David Weintraub
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2331482
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2352857
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-22 13:47:22 CEST

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.