[MERGE] Change the smart server get_parents method to take a graph search to exclude already recieved parents from. This prevents history shortcuts causing huge numbers of duplicates.

Robert Collins robertc at robertcollins.net
Sun Feb 3 23:03:29 GMT 2008


Whee long titles.

So this patch changes the current bzr.dev-only Repository.get_parents
smart server method, eliminating duplication and gzipping the content.

With 100 missing mainline revsions (659 in total to pull) this generates
the parameters to stream in 8 seconds on a lon-syd pull, in 2 round
trips.

Its not optimal; I have some ideas about that but want to get this into
1.2 - the optimal stuff will be a bit more of an overhaul of the overall
fetch process to use branch information to [ideally] provide single
round trips in a number of common cases (like first branch into a shared
repo!).

-Rob


-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-7pfDre.patch
Type: text/x-patch
Size: 28566 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080204/68200b19/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080204/68200b19/attachment-0001.pgp 


More information about the bazaar mailing list