# HG changeset patch # User Pierre-Yves David # Date 1392766254 28800 # Node ID eb0d18490c142f8d29fca816906665ec4d588695 # Parent 2f9ea881591a6310a81ceb473186d8c5dfb033f3 drop unused function `pushmarkerwrapper` I can find any user for this function. diff -r 2f9ea881591a -r eb0d18490c14 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']