[MERGE] Lock repositories created by BzrDirFormat.initialize_on_transport_ex.
Michael Hudson
michael.hudson at canonical.com
Tue Apr 28 05:38:44 BST 2009
Talden wrote:
> On Tue, Apr 28, 2009 at 3:58 PM, Robert Collins
> <robert.collins at canonical.com> wrote:
>> This locks the repositories created by
>> BzrDirFormat.initialize_on_transport_ex, which avoids a round trip to
>> lock them immediately afterwards; and drops pushing a new nonstacked
>> branch to 9 roundtrips.
>
> This effort is quite interesting but it would be great to understand
> how many round-trips are expected to have been eliminated each time.
> I know the round-trip time to my head-office so this would help give
> me a sense of the least amount of time this saves.
If you dig and know what to look for, you can see this in the diff:
- self.assertLength(11, self.hpss_calls)
+ self.assertLength(9, self.hpss_calls)
Cheers,
mwh
More information about the bazaar
mailing list