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

Re: cvs2svn and merge to single svn repository

From: Michael Haggerty <mhagger_at_alum.mit.edu>
Date: Mon, 11 Aug 2008 23:45:33 +0200

If you follow Andrew's advice, you would then do a "multiproject
conversion" using cvs2svn, which is described in the cvs2svn documentation.

In fact, you don't even have to move the CVS repository directories
around. cvs2svn is perfectly happy to do a multiproject conversion
where different projects are in completely separate CVS repositories
(though of course it requires filesystem-level access to all of the
repositories, so they can't be strewn across the internet).

I'm sorry to inform you, however, that even if you convert directly into
the new SVN repository, the time previously needed by SVN to load the
contents of the dumpfile will still be needed, only now it will occur
during the output pass of cvs2svn. (The only difference is that cvs2svn
pipes the "dumpfile" content directly into "svnadmin load".) If time is
a concern, make sure that you have fast disks and if possible spread the
work across multiple physical disk drives.

Michael

Andrew Craig wrote:
> As CVS just uses plain files as its repos, you can merge the CVS
> repositories together before you run cvs2svn -- just create a new CVS
> repos, and just copy your existing CVS repositories into this
> directory. You can then run a single cvs2svn call on the whole thing.
>
> On Mon, Aug 11, 2008 at 9:47 AM, Baeriswyl Kuno - Extern (IT-BA-MV)
> <kuno.baeriswyl_at_sbb.ch> wrote:
>
> Hello!
>
> What is the shortest way to migrate a cvs repos to svn and merge
> them into a single subversion repository?
>
> We got more thant 20 cvs repos. The way I've found is following:
>
>
> 1. cvs2svn for all cvs repos
> 2. dump all migrates repos
> 3. merge all dumps into a single file using svndumptool
> 4. create new svn repo and load the dumpfile
>
> This working well, though, loading the dumpfile is very
> timeconsuming task. Is there a way to shortcut the process above
> without loosing version history?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-11 23:46:10 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.