If I have a working copy of a Subversion repository, is there a way to delete all unversioned or ignored files in that working copy with a single command or tool? Essentially, I'm looking for the SVN analogue to git clean
.
Either a command line or GUI solution (for TortoiseSVN) would be acceptable.
Best Answer
This has the following features:
--xml
option and parse the resulting xml output)svn status
prints other status characters before the file name (which it shouldn't because the files are not tracked, but just in case...)I use a shell script named
svnclean
that contains the following: