On 27.02.2012 14:12, Philip Martin wrote: > As far as I can see negotiating locking between clients would involve > some sort of locking daemon and a network protocol. I'm not even sure > it would solve the problem since it would introduce new latencies. I > don't want to try writing that. Do you have some other mechanism in mind?
BDB does a pretty good job of that with its DB_REGISTER implementation. It doesn't do all that's required for this kind of negotiation, but the rest would have to be up to the specifics of sqlite. We'd probably end up with something similar to cancellation processing, but specific to a (small part of?) libsvn_wc. -- Brane