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

Re: Removing non-versioned files in the WC

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-02-16 00:04:36 CET

On Feb 15, 2004, at 5:59 PM, Toshio wrote:

> Is there an svn option to remove non-versioned files in the WC?
> I can script up something with svn --no-ignore status
> but if there's already a commandline switch that does this, I'd rather
> go that route.

There is not. Subversion doesn't go out of it's way to implement
things that are generally better done by other tools. Personally, I do
something like this:

$ svn st --no-ignore | awk '/^I/ { print $2 }' | xargs rm -rf


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 16 00:05:30 2004

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.