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

Re: RCS 2 SVN Conversion

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: 2007-09-11 05:43:55 CEST

On 9/6/07, Erik Huelsmann <ehuels@gmail.com> wrote:
> On 9/6/07, Dong Jiwei <dongjiwei@keithley.com> wrote:
> > Hi all,
> >
> > Currently my team are using RCS to manage all the script files. We
> > want to change the Revision management system to SVN, but the repository is
> > very big, the file directory are a little deep.
> > Is there any good tool that can automatically convert the RCS
> > repository to SVN?
> >
> > I have checked the rcs2svn.pl, but I am not good at perl, there is
> > error message that I can not solve.
>
> Try cvs2svn and organizing your files in such a way that cvs2svn can
> process them.
>
> bye,
>
> Erik.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

To further expand on Erik's instructions. CVS basically uses RCS and
as such RCS->CVS is extremely easy. Simply take all the RCS file
under the RCS directory in your working copy, move them up a directory
and then delete the now empty RCS directory. Remeber to always make a
backup before doing these kinds of things. Now, you have a cvs
repository (or as much of one as cvs2svn.pl needs).

With a large repo, cvs2svn.pl might take a while, but it does do
things very intelligently. In my case, revisions of different files
were able to be rolled up into one Subversion revision to make a
for-real "change-set". cvs2svn.pl keyed on the fact that the log
messages were EXACTLY the same and they happened around the same time.

Also, I suggest trying both FSFS and BDB as backends to your new
Subversion repo (if your cvs2svn conversion takes as long as mine did,
this will be pretty time consuming). I found that with our working
copy (>300MB, lots of files, lots of directories and lots of depth)
FSFS performance on checkout and switch operations was unacceptably
long. Things generally seemed faster using the BDB. You may (or may
not) run into the same thing.

Hope it helps.

Troy

-- 
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 11 05:40:42 2007

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.