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

Re: How to lock repository for automated build purposes?

From: David Chapman <dcchapman_at_earthlink.net>
Date: Thu, 30 Oct 2008 09:19:49 -0700

E.K. Lee wrote:
>
> I need a way to prevent developers from committing files while an
> automated build process is started. Is there a way to achieve this
> with the default svn command line tools (the svn lock seems to work
> only on files)? Or is there an easier way to lock a repository
> temporarily? Thanks.
>

Typically a build process would simply select a repository revision,
then check out that revision. There is no need to lock the repository
while creating a tag or running a build process, because revisions are
repository-wide and immutable (except for properties on the revisions
themselves). Look at the "-r" option in the checkout command.

-- 
    David Chapman         dcchapman_at_earthlink.net
    Chapman Consulting -- San Jose, CA
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-30 17:20:00 CET

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.