Page MenuHomePhabricator

clonebundles: move a bundle of clone bundle related code to a new module
Needs ReviewPublic

Authored by marmoute on Wed, Oct 14, 7:34 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

In the process on general clone bundle automatically, we need to make some
function available more widely. This is a good opportunity to extract a
significant amount of code from mercurial.exchange into a new
mercurial.bundlecaches. This make mercurial.exchange move under the 3K line
range (hooray…).

The module is called bundlecaches because I expect it to be eventually useful
for more than just clone bundle (like pull bunbles).

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Wed, Oct 14, 7:34 PM
pulkit added a subscriber: pulkit.Thu, Oct 15, 8:16 AM
pulkit added inline comments.
tests/test-pull-bundle.t
55 ↗(On Diff #23209)

seems like this and next one are unrelated change.

Ha yes, they sneaking in while debugging.