changeset 23028:e4aeb14248ca

bundle2: remove _getbundleextrapart Extensions can now add new part generators with the getbundle2partsgenerator decorator instead.
author Mike Hommey <mh@glandium.org>
date Thu, 25 Sep 2014 11:53:28 +0900
parents 3971f64d7a25
children 149fc8a44184
files mercurial/exchange.py
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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