[MERGE] various tweaks to push

Robert Collins robert.collins at canonical.com
Wed Apr 15 05:50:04 BST 2009


This is a few tweaks all conflated, because the issues weren't clear.

Basically - we were churning locks a lot (known), and code depended on
the locks being released for some methods (bad). 

So this patch changes branch.lock to only lock the repository once,
which means we can useful lock fallback repositories added to the branch
in set_stacked_on. The complexity with control_files is to deal with
AllInOne formats.

Anyhow, more reductions++.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: push-roundtrips-4298.patch
Type: text/x-patch
Size: 25029 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090415/47446435/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090415/47446435/attachment-0001.pgp 


More information about the bazaar mailing list