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

Re: Cleaning up work area with svn

From: Ben Reser <ben_at_reser.org>
Date: 2004-04-09 21:12:09 CEST

On Thu, Apr 08, 2004 at 04:28:09PM -0700, Peter S. Housel wrote:
> If the former, I use the following "svnpurge" script:
>
> #!/bin/sh
> svn st --no-ignore \
> | perl -n -e 'if(/^[I?].{6}(.*)$/) { print "$1\n"; unlink $1; }'
>
> Perhaps this could be added to contrib/client-side.

I have a svnpurge that's completely different. Someone was on IRC
wanting something to remove all missing files (e.g. they used the system
delete command not svn rm) and didn't want to find and fix this by hand.
So I threw this together. As soon as I get around to documenting it,
adding some options, I was going to put it in contrib/client-side.

So if we want to add this script one of us needs to pick a different
name.

Here's my script:
http://mirror.brain.org/linux/breser/misc/svnpurge

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 9 21:12:23 2004

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.