# HG changeset patch # User Mike Hommey # Date 2014-09-25 02:53:28 # Node ID e4aeb14248ca056584e0e60bff00ab5ec4db34a0 # Parent 3971f64d7a25e7a69450175168b19a27c97759c0 bundle2: remove _getbundleextrapart Extensions can now add new part generators with the getbundle2partsgenerator decorator instead. diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -1206,12 +1206,6 @@ def _getbundleobsmarkerpart(bundler, rep markers = repo.obsstore.relevantmarkers(subset) buildobsmarkerspart(bundler, markers) -@getbundle2partsgenerator('extra') -def _getbundleextrapart(bundler, repo, source, bundlecaps=None, - b2caps=None, **kwargs): - """hook function to let extensions add parts to the requested bundle""" - pass - def check_heads(repo, their_heads, context): """check if the heads of a repo have been modified