On 7/31/06, André Pönitz <andre@wasy.de> wrote:
> Erik Hemdal wrote:
> > > But if somebody else comes in between and checks in his
> > > source code, he will occupy 801 and I will get 802 (802 will
> > > be the release) and thus he will corrupt the whole build
> > > process because 802 does not have the exact release files.
> >
> > I have not found a way to lock a repository, but perhaps others know more
> > than I do.
>
> Shutting down the server during the time of the build seems to
> be a fairly safe method. I am doing so for nightly builds and
> backup. Of course, this won't work in a 24/7 scenario but so far
> nobody complained about svn being unreachable between 3 and 4
> at night...
How about a pre-commit hook which rejects commits between 3 and 4? You
could even do so with a message saying that it's not time to work now
:-)
bye,
Erik.
Received on Mon Jul 31 10:39:29 2006