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

Re: problem with svnsync and repository locks...

From: Karl Heinz Marbaise <khmarbaise_at_gmx.de>
Date: Thu, 06 Jan 2011 09:16:02 +0100

Hi,

may be i misunderstand a thing but have you implemented the lock-hooks
as well to replicate the locks to the slave ? If i understand your
explanation well you haven't ...

svnsync doesn't replicate lock to slaves...

excerpt from the Subversion book:
------
The only thing we've left out here is what to do about locks. Because
locks are strictly enforced by the master server (the only place where
commits happen), we don't technically need to do anything. Many teams
don't use Subversion's locking features at all, so it may be a nonissue
for you. However, if lock changes aren't replicated from master to
slaves, it means that clients won't be able to query the status of locks
(e.g., svn status -u will show no information about repository locks).
If this bothers you, you can write post-lock and post-unlock hook
scripts that run svn lock and svn unlock on each slave machine,
presumably through a remote shell method such as SSH. That's left as an
exercise for the reader!
--------

Kind regards
Karl Heinz Marbaise

-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de
Received on 2011-01-06 09:16:39 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.