changeset 1425:344774ef5a05 stable

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 07 May 2015 10:54:37 -0700
parents 9321889d119a
children efb75f4d55aa
files hgext/simple4server.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/simple4server.py
+++ b/hgext/simple4server.py
@@ -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)