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

Inclusion of my svn-clean script

From: Simon Perreault <nomis80_at_nomis80.org>
Date: 2004-10-02 23:30:58 CEST

Hi,

May I suggest the inclusion of my svn-clean script? It behaves like the
famous cvs-clean script, that is, it removes any file or directory in a
working copy that is not versioned. It could be added to the
tools/client-side directory.

How it works: does an "svn status --no-ignore -v" command and parses the
output. Any line that starts with 'I' (ignored) or '?' (unversioned)
means the file should be deleted. The script is coded in Perl and uses
the standard Perl File::Path module for recursive removing.

See http://nomis80.org/svn-clean.

-- 
Simon Perreault <nomis80_at_nomis80.org> -- http://nomis80.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 2 23:31: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.