This is an archive of the discontinued Mercurial Phabricator instance.

bundle2: move part processing to a separate function
ClosedPublic

Authored by durham on Sep 13 2017, 8:39 PM.

Details

Summary

Now that the part processing loop is tiny, let's move it to a separate function.
This will allow extensions to completely replace the part processing logic,
without having to replace the overall bundle processing logic or the stream
maintenance logic.

This will be useful for the infinitepush extension, so it can completely take
over receiving a bundle and rerouting it to a side store. This will also make it
easier to upstream the infinitepush functionality later.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durham created this revision.Sep 13 2017, 8:39 PM
durham updated this revision to Diff 1821.Sep 14 2017, 1:21 PM
krbullock accepted this revision.Sep 18 2017, 4:39 PM
This revision is now accepted and ready to land.Sep 18 2017, 4:39 PM
This revision was automatically updated to reflect the committed changes.