Re: Locks on the repository - Further information
On 7/31/06, AndrĂ© PĂ¶nitz <firstname.lastname@example.org> 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
Received on Mon Jul 31 10:39:29 2006
This is an archived mail posted to the Subversion Users