stream-clone: factor computation of new clone requirement out
This gather code duplicated in multiple place and will make it easier to modify it safely in the future. Differential Revision: https://phab.mercurial-scm.org/D12027
Please register or sign in to comment