bundlerepo: move bundle2 part handling out to a function...
bundlerepo: move bundle2 part handling out to a function
This moves the bundle2 part handling for bundlerepo out to a separate function
so extensions can participate in bundlerepo setup when using bundle2 bundles.
Differential Revision:
https://phab.mercurial-scm.org/D290