changeset 798:eb0d18490c14

drop unused function `pushmarkerwrapper` I can find any user for this function.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 18 Feb 2014 15:30:54 -0800
parents 2f9ea881591a
children a398478e8d86
files hgfastobs.py
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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']