[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: Zieg, Mark <mark.zieg_at_lmco.com>
Date: 2005-03-07 16:48:21 CET

> When working on a change that requires a full rebuild
> to be properly tested or when making releases would be
> very helpful to be able to convert an existing working
> copy into what would have resulted from a clean checkout
> from the repository.

You note in your first sentence that this really falls under the "build
control" aspect of configuration management, not "revision control" (the
role that Subversion provides). Historically, most people wrote a "make
dist-clean" Makefile target for this, something like:

dist-clean:
    @rm -f *.o *.exe *core *.dump *~ *.obj *.stackdump
    @ls | egrep -v '\.(h|c|cpp)$' | grep -v Makefile | xargs rm -i

Anyway, I personally like to maintain architectural distinction between
revision control and build control. Mixing the two functions can
complicate things down the road...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 7 17:18:35 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.