[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: Gabor Grothendieck <ggrothendieck_at_myway.com>
Date: 2004-11-22 16:55:50 CET

>
>
> Date: Mon, 22 Nov 2004 08:39:53 -0700
> From: Mike Mason <mgm@thoughtworks.net>
> To: <ggrothendieck@myway.com>
> Cc: <users@subversion.tigris.org>
> Subject: Re: moving a file out and back again or renaming it
>
>
> 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.
>

Certainly, you are correct but I did not develop the build tools and
am stuck with them until a process more like you describe is implemented.
Such implementation is planned but in the meantime I am stuck with
what I have and so am still wondering about my original question.

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com

---------------------------------------------------------------------
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:58:17 2004

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