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

Re: converting a CVS working directory to SVN

From: Saulius Grazulis <grazulis_at_akl.lt>
Date: 2005-09-28 08:29:05 CEST

On Tuesday 27 September 2005 10:14, Fabian Cenedese wrote:

> > >> modifications preserved).  But it's not as simple as just saying
> > >> "svn co".
> >
> ....
> >Would it make sense for "svn update" to do this, perhaps with a
> >switch?  Or is this a sufficiently obscure need that the manual way,
> >or perhaps that way plus a bit of script magic, is "good enough"?
>
> What about creating a patch from cvs and apply that to a normal
> svn checkout? Provided that the files are similar enough...

I would check out SVN working copy ('svn co REPO-URL svn-wc'), and then 'rsync
--update cvs-wc/ svn-wc/'. I have used this several times to convert
non-versioned or RCS versioned working directories to SVN ones.

Regards,

-- 
Saulius Gražulis
Visuomeninė organizacija "Atviras Kodas Lietuvai"
P.Vileišio g. 18
LT-10306 Vilnius
Lietuva (Lithuania)
tel/fax:      (+370-5)-210 40 05
mobilus:      (+370-684)-49802, (+370-614)-36366

  • application/pgp-signature attachment: stored
Received on Wed Sep 28 09:08:35 2005

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