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

Re: Feature request: svn clean

From: Simon Perreault <nomis80_at_nomis80.org>
Date: 2005-03-05 18:38:17 CET

On March 4, 2005 14:13, Casper Hornstrup wrote:
> When working on a change that requires a full rebuild to be properly tested
> or when making releases would be very helpful to be able to convert an
> existing working copy into what would have resulted from a clean checkout
> from the repository. Svn clean would basicly be a superset of svn revert
> -R. In addition to revert, it would delete all unversioned (usually
> generated) files in the working copy.

Check out the svn-clean script that I wrote and that comes with subversion in
the contrib directory.
http://svn.collab.net/viewcvs/svn/trunk/contrib/client-side/svn-clean?&view=auto

With that script, simply do:

svn-clean
svn revert -R .

-- 
Simon Perreault <nomis80_at_nomis80.org> -- http://nomis80.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 5 18:41:19 2005

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.