mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
4f2e35bc33
changegroup() has a problem when nodes which does not descend from a node in <bases> are added to remote after the discovery phase. If that happens, changegroup() won't send the correct set of nodes, ie. some nodes will be missing. To correct it we have to find the set of nodes that both remote and self have (called <common>), and send all the nodes not in <common>. This fix has some overhead, in the worst case it will re-send a whole branch. A proper fix to avoid this overhead might be to change the protocol so that the <common> nodes are sent (instead of the <bases> of the missing nodes).
6 lines
95 B
Plaintext
6 lines
95 B
Plaintext
% initialize repository
|
|
adding a
|
|
% try hgweb request
|
|
0
|
|
1f424bb22ec05c3c6bc866b6e67efe43 page1
|