[MERGE] Move RemoteRepository caching logic to CachedParentsProvider

Aaron Bentley aaron at aaronbentley.com
Wed Dec 3 05:27:42 GMT 2008


Andrew Bennetts wrote:
> I think this is because it unfortunately isn't safe to cache misses in
> RemoteRepository, because the cache of misses doesn't get invalidated when
> revisions are added to its _real_repository.

I have made miss-caching optional, and disabled it for repository caches.

All tests pass with these changes.

Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remote-stacking.patch
Type: text/x-patch
Size: 24645 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081203/87dfeb07/attachment-0001.bin 


More information about the bazaar mailing list