[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 clean

From: Martin Aliger <martin_aliger_at_gordic.cz>
Date: 2005-03-22 09:54:16 CET

Hi Greg,

thanks for response.

> Sounds to me like you need to write the pipeline
>
> svn st | awk '/^\?/ {print $2}' | xargs rm -f
>
> in Python and call it svnclean. Or write it in C if you
> really can't assume anything about your build environment
> (except for a C compiler).

c# in fact :-). Yes - this is the most propable way we'll go.

> I don't see a burning need for this to be built-in to svn,
> and it could be dangerous. ("Ooh, what's this new clean
> command do?" ... shortly followed by the sound of a careless
> programmer getting burned.)

True - it is not "burning need". I still think, it'll be nice feature to
have since CVS have it, and SVN tries to be better CVS, don't it? As I
already wrote somewhere, it'd be propably done as switch rather than new
command. Say "revert --force" or "update --clean" (which would made "revert
--force;update", maybe even more effectivelly)

> Or use a modern build tool like SCons: "scons -c" deletes all
> build targets very nicely. No more forgetting to add
> foo.tmp.mumble to your "clean" target -- if SCons builds it,
> SCons cleans it.

From quick look that tool looks good. But we coudn't rely on any specific
builder since our tool supports generic builder (even that we mostly
supports nant). See http://ccnet.sf.net.
 
Regards,
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 22 09:56: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.