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

Re: [PATCH] allow pre-lock hook to specify token for locking

From: Chia-liang Kao <clkao_at_clkao.org>
Date: Mon, 21 Jul 2008 14:39:16 -0700

2008/7/21 Karl Fogel <kfogel_at_red-bean.com>:
>> This is for locking through a slave repository with pushmi, we'd use the
>> pre-lock hook to lock the mater server and then notify svn about the token
>> we got from the master, so they are in sync.
>
> In other words, the slave would be locked too, and it would be using the
> exact same lock token as the master?

Yes, because it's supposed to be in total sync that you can switch back and
forth between master and different replicas. of course the whole lock
database need to be sync'ed over time, but this particular hook is to make
the lock immediately in sync when committing through the replica.

Cheers,
CLK

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-21 23:39:30 CEST

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.