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

Re: What to do?

From: Saulius Grazulis <grazulis_at_akl.lt>
Date: 2006-03-07 08:18:27 CET

On Tuesday 07 March 2006 09:02, Markus Karg wrote:

> Unfortunately the local WC is very large. There are a lot of local changes
> in a lot of files, and the files are in a lot of very deeply nested
> directories (as usual due to Java's package structure). So doing this
> manually without incidentially mangling .svn folders tends to be as long as
> reworking the past day... :-(

Use rsync, man. You will love it. It will pick just the modified files,
skipping .svn dirs, and upate your new WC in minutes, not days ;)

rsync --exclude .svn --archive --verbose OLD-WC/ NEW-WC/ --dry-run

Whill show you what rsync is going to do, without changing your new WC, and:

rsync --exclude .svn -av OLD-WC/ NEW-WC/

will do the job.

NB. AFAIK, rsync also works on Windows, if not natively, then under Cygwin --
you can install it by "browse-and-click" from the CygWin site.

-- 
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 7 08:18:45 2006

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