simple4server: remove buggy wrapping of pull related function stable
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 07 May 2015 10:54:37 -0700
branchstable
changeset 1329 344774ef5a05
parent 1328 9321889d119a
child 1330 efb75f4d55aa
simple4server: remove buggy wrapping of pull related function Not only the wrapping was all buggy, but simple4server is not supposed to affect client side pull.
hgext/simple4server.py
--- a/hgext/simple4server.py	Wed May 06 11:29:15 2015 -0700
+++ b/hgext/simple4server.py	Thu May 07 10:54:37 2015 -0700
@@ -286,7 +286,6 @@
     wireproto.commands['evoext_pushobsmarkers_0'] = (srv_pushobsmarkers, '')
     wireproto.commands['evoext_pullobsmarkers_0'] = (srv_pullobsmarkers, '*')
     # wrap module content
-    extensions.wrapfunction(exchange, '_pullbundle2extraprepare', _getbundleobsmarkerpart)
     origfunc = exchange.getbundle2partsmapping['obsmarkers']
     def newfunc(*args, **kwargs):
         return _getbundleobsmarkerpart(origfunc, *args, **kwargs)