drop unused function `pushmarkerwrapper`
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 18 Feb 2014 15:30:54 -0800
changeset 798 eb0d18490c14
parent 797 2f9ea881591a
child 799 a398478e8d86
drop unused function `pushmarkerwrapper` I can find any user for this function.
hgfastobs.py
--- a/hgfastobs.py	Sat Nov 16 20:44:44 2013 -0500
+++ b/hgfastobs.py	Tue Feb 18 15:30:54 2014 -0800
@@ -47,13 +47,6 @@
 
 extensions.wrapfunction(obsolete, 'syncpush', syncpushwrapper)
 
-def pushmarkerwrapper(orig, repo, *args):
-    if repo.ui.config('obsolete', 'syncstrategy') == 'stock':
-        return orig(repo, *args)
-    # We shouldn't need to do this, since we transmit markers
-    # effectively during push in localrepo. Just return success.
-    return 1
-
 def _getoutgoing():
     f = sys._getframe(4)
     return f.f_locals['outgoing']