##// END OF EJS Templates
bundle2-push: drop _pushbundle2extraparts...
Pierre-Yves David -
r21906:08dcb572 default
parent child Browse files
Show More
@@ -239,7 +239,6 b' def _pushbundle2(pushop):'
239 239 # create reply capability
240 240 capsblob = bundle2.encodecaps(pushop.repo.bundle2caps)
241 241 bundler.newpart('b2x:replycaps', data=capsblob)
242 extrainfo = _pushbundle2extraparts(pushop, bundler)
243 242 replyhandlers = []
244 243 for partgen in bundle2partsgenerators:
245 244 ret = partgen(pushop, bundler)
@@ -258,21 +257,6 b' def _pushbundle2(pushop):'
258 257 raise util.Abort('missing support for %s' % exc)
259 258 for rephand in replyhandlers:
260 259 rephand(op)
261 _pushbundle2extrareply(pushop, op, extrainfo)
262
263 def _pushbundle2extraparts(pushop, bundler):
264 """hook function to let extensions add parts
265
266 Return a dict to let extensions pass data to the reply processing.
267 """
268 return {}
269
270 def _pushbundle2extrareply(pushop, op, extrainfo):
271 """hook function to let extensions react to part replies
272
273 The dict from _pushbundle2extrareply is fed to this function.
274 """
275 pass
276 260
277 261 def _pushchangeset(pushop):
278 262 """Make the actual push of changeset bundle to remote repo"""
General Comments 0
You need to be logged in to leave comments. Login now