transport lock methods

Wouter van Heyst larstiq at larstiq.dyndns.org
Fri Feb 17 16:38:59 GMT 2006


On Fri, Feb 17, 2006 at 03:24:52PM +1100, Robert Collins wrote:
> On Thu, 2006-02-16 at 20:29 -0600, John A Meinel wrote:
> > Robert Collins wrote:
> > > I think we should remove the lock methods from transport because having
> > > transport specific locks leads to bugs : we dont have cross-transport
> > > compatibility.
> > > 
> > > I think we should do this for 0.8. Thoughts?
> > > 
> > > Rob
> > > 
> > 
> > I think we should move to LockDir for 0.8, which would get rid of
> > transport specific locks. We only had transport specific locks because
> > we *couldn't* have OS locks over sftp.
> 
> Yes, but we need to keep enough machinery around to write to format 6
> branches over sftp unless we want to make 0.8 a watershed upgrade.

So where/how would format 6 over sftp locking be done?
+1 on using the same locking scheme over all transports
-1 on releasing 0.8 without that.

Wouter van Heyst




More information about the bazaar mailing list