# HG changeset patch # User Mike Hommey # Date 1411613608 -32400 # Node ID e4aeb14248ca056584e0e60bff00ab5ec4db34a0 # Parent 3971f64d7a25e7a69450175168b19a27c97759c0 bundle2: remove _getbundleextrapart Extensions can now add new part generators with the getbundle2partsgenerator decorator instead. diff -r 3971f64d7a25 -r e4aeb14248ca mercurial/exchange.py --- a/mercurial/exchange.py Fri Oct 17 12:34:27 2014 -0500 +++ b/mercurial/exchange.py Thu Sep 25 11:53:28 2014 +0900 @@ -1206,12 +1206,6 @@ 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