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

Re: FEATURE: Something like a 'svn rebuild'

From: Alan Barrett <apb_at_cequrux.com>
Date: Sat, 24 May 2008 23:59:57 +0000

On Sat, 24 May 2008, Sam Washburn wrote:
> So, my feature recommendation would be something like a 'svn rebuild'
> command that would re-download and recreate all the .svn dirs and files
> inside of the working copy *without* modifying anything outside of the .svn
> (i.e. any local changes).

I'd much prefer a --metadata-only option, which would work with ~all
svn commands, and which would mean "do the usual stuff to the .svn
directories and files inside them, but do not touch anything outside the
.svn directories". The your "svn rebuild" idea could be implemented
by removing all .svn dirs, followed by "svn checkout --metadata-only
[-rREV] URL".

I find that I often want "svn checkout --metadata-only" (to take
something that looks a lot like the output from "svn export", except
with local changes, and convert it into a proper working copy with
local changes). I also sometimes want "svn update --metadata-only
[-rREV] FILENAME" (when I know or suspect that the local changes are
very similar to changes made in the repository). I tend to fake them by
moving .svn directories back and forth between the directory that I care
about and a temporary working copy.

--apb (Alan Barrett)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-25 10:58:24 CEST

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