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

Re: How to clean the working dir from .svn folders ?

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Tue, 26 Jul 2011 10:15:40 -0500

On 7/26/2011 9:58 AM, Geoff Hoffman wrote:
>
> Ah - I thought someone mentioned cygwin ... sorry. Could you create a
> PHP script specifically for this? There are lots of recursive directory
> walk scripts online. I'm sure you have a reason why svn export won't
> work but are you certain? That's what it's for. You can't export as
> 'original-dir-export' next to your original-dir, delete the
> original-dir, rename the exported back to same as original-dir?

Another reasonable alternative is to update a working copy in a staging
area, possibly on a test server, then use rsync with the '-C' option to
copy the files into their production location(s). That option skips
files associated with svn or cvs metadata (and a few other things so it
is best to look at the list it skips before trusting it).

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
Received on 2011-07-26 17:16:23 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.