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

Re: [CONTRIB] `sfind', a wrapper around `find' that ignores .svn directories

From: Marcus Rueckert <darix_at_web.de>
Date: 2005-03-04 15:40:16 CET

On 2005-03-04 10:50:20 +0100, Øyvind A. Holm wrote:
> #=======================================================================
> # $Id: nosvn 101 2005-03-04 08:51:00Z sunny256 $
> # Reads a bunch of filenames from stdin or files specified on the
> # command line. Example of really cleaning up the working copy:
> # cd /top/of/working/copy
> # find . -type f | nosvn | xargs rm
> # svn revert -R .
> #=======================================================================

svn st --no-ignore | grep "^[I?]" | awk '{print $2}' | xargs rm -rf
svn revert -R .
svn update

or to follow your scheme:
svn st --no-ignore | awk '{print $2}' | xargs rm -rf
svn revert -R .

hope this helps

darix.
 

-- 
irssi - the client of the smart and beautiful people
              http://www.irssi.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 4 15:41:38 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.