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

Re: Feature request - SVN command to clean a working copy of all unversioned and ignored files and directories

From: David Chapman <dcchapman_at_acm.org>
Date: Sat, 10 Mar 2012 12:40:45 -0800

On 3/10/2012 12:13 PM, Andreas Krey wrote:
> On Sat, 10 Mar 2012 10:47:55 +0000, Les Mikesell wrote:
> ...
>> I'd argue that tools have no business removing any files they didn't
>> create unless you name them explicitly. And that complicated things
>> that you want a CI to automate should be scripted with the script
>> managed in your VCS anyway so it works the same when you do it
>> yourself as when automated.
> Except for the part where not everyone should be forced to reinvent
> the wheel of 'put the sandbox in a pristine state' as in 'cd ..;
> rm -r $sandboxname; svn checkout -r $rev $url $sandboxname', but more
> efficiently and without hitting the network.
>

And except for the part where a cross-platform developer like me has to
reinvent the wheel for every platform I work on. I try to ensure that
"make clean" is very robust, but the makefiles aren't always updated
consistently. Every now and then debris is left behind on one platform
or another. And that occurs even without CI.

If I were rich or bored, I'd be tempted to try to implement this feature
myself. The pieces should already be in the code base.

-- 
     David Chapman      dcchapman_at_acm.org
     Chapman Consulting -- San Jose, CA
     Software Development Done Right.
     www.chapman-consulting-sj.com
Received on 2012-03-10 21:41:56 CET

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.