RE: Feature request: svn clean
From: Bax, Arjen <ABax_at_AEGON.NL>
Date: 2005-03-21 15:54:41 CET
Martin Aliger asks for a command to remove left-over build artifacts.
Sounds like something like:
svn st topdir | perl -wlne 's/\s+$//; /^\?/ and unlink substr($_, 7)'
I love using Perl. :-)
Warning: use at your own risk.
You might test it first with 'print' instead of 'unlink'. ;-)
HTH,
-- Violence is the last refuge of the incompetent - Isaac AsimovReceived on Mon Mar 21 16:16:49 2005 |
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.