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

Re: moving a file out and back again or renaming it

From: Mike Mason <mgm_at_thoughtworks.net>
Date: 2004-11-22 16:39:53 CET

Gabor Grothendieck wrote:

>I have source code in svn that includes a file with information
>on which tells my build procedure which svn files to exclude
>when building. If that file is missing then it will build
>all the files.
>
>Sometimes I don't want to exclude the files listed in my
>exclusion files but other times I want to force all files
>to be built.
>Can I move the file with the exclusion information out temporary,
>do my build and move it back or will that result in the file
>being recommitted by svn? Or what about just renaming it
>temporarily and back again? Will that cause svn to recommit it?
>
>(The alternative would be to copy all the files out to a
>temporary directory and then delete the exclusion file from that.)
>
>

Sounds like a better solution may be to fix your build process -- could
you introduce a new build target, say "build all" that builds everything
and ignores the exclusion file, and a default target "build" that uses
the information in the exclusion file?

If you have stuff that's important to your build process it should be in
version control. Generally a developer shouldn't have to play with his
working copy in order to get a build to work -- he should run a specific
build target that does what he wants.

Cheers,
Mike.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 22 16:42:11 2004

This is an archived mail posted to the Subversion Users mailing list.