This is an archive of the discontinued Mercurial Phabricator instance.

streamclone: ensure the server sends the right amount of data

Authored by valentin.gatienbaron on Aug 1 2021, 10:59 AM.



Otherwise, the client would fail with some confusing error. I have
seen an error which I think is this, perhaps due to a concurrent
revlog split, which streamclones do not handle correctly and would
result in a short read of the index of the revlog being split.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit accepted this revision.Aug 1 2021, 3:02 PM
This revision is now accepted and ready to land.Aug 1 2021, 3:02 PM
Alphare added a subscriber: Alphare.Aug 2 2021, 5:00 AM

@pulkit I think this would be a good contender for stable and should go in during the freeze.