Skip to content
Snippets Groups Projects
Commit 08dcb572 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

bundle2-push: drop _pushbundle2extraparts

All core user are now using the new way. We drop the old way.
parent 7923648a
No related branches found
No related tags found
No related merge requests found
......@@ -239,7 +239,6 @@
# create reply capability
capsblob = bundle2.encodecaps(pushop.repo.bundle2caps)
bundler.newpart('b2x:replycaps', data=capsblob)
extrainfo = _pushbundle2extraparts(pushop, bundler)
replyhandlers = []
for partgen in bundle2partsgenerators:
ret = partgen(pushop, bundler)
......@@ -258,21 +257,6 @@
raise util.Abort('missing support for %s' % exc)
for rephand in replyhandlers:
rephand(op)
_pushbundle2extrareply(pushop, op, extrainfo)
def _pushbundle2extraparts(pushop, bundler):
"""hook function to let extensions add parts
Return a dict to let extensions pass data to the reply processing.
"""
return {}
def _pushbundle2extrareply(pushop, op, extrainfo):
"""hook function to let extensions react to part replies
The dict from _pushbundle2extrareply is fed to this function.
"""
pass
def _pushchangeset(pushop):
"""Make the actual push of changeset bundle to remote repo"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment