1. Pierre-Yves David
  2. mutable-history

Commits

Pierre-Yves David  committed eb0d184

drop unused function `pushmarkerwrapper`

I can find any user for this function.

  • Participants
  • Parent commits 2f9ea88
  • Branches default

Comments (0)

Files changed (1)

File hgfastobs.py

View file
 
 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']