repository and branch locks in bzr.dev

John Arbash Meinel john at arbash-meinel.com
Tue Jan 31 13:38:39 GMT 2006


Robert Collins wrote:
> I am thinking that if we share the control_files instance in Branch and
> Repository, we can lock the same file, which would be somewhat more
> compatible with prior bzr versions (currently a Repository that is
> locked without a locked branch will allow concurrent writes into
> the .bzr dir)
> 
> Thoughts?
> 
> Rob

In the current system, where the files are rooted at the same location,
this makes sense to me.

Though it might be better to do the double locking, so that we get some
experience making sure both the branch and the repository are locked at
the appropriate time.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060131/4a9b119c/attachment.pgp 


More information about the bazaar mailing list