exchange: fix some wrong reference to serveronly
The function have all moved into 'obsexchange' now, so we do not need (and
actually cannot) seek them in 'evolve.serveronly'.
--- a/hgext3rd/evolve/obsexchange.py Tue Mar 14 15:50:43 2017 -0700
+++ b/hgext3rd/evolve/obsexchange.py Tue Mar 14 16:56:48 2017 -0700
@@ -34,7 +34,6 @@
from . import (
exthelper,
- serveronly,
utility,
obsdiscovery,
)
@@ -338,7 +337,7 @@
@eh.addattr(localrepo.localpeer, 'evoext_pushobsmarkers_0')
def local_pushobsmarkers(peer, obsfile):
data = obsfile.read()
- serveronly._pushobsmarkers(peer._repo, data)
+ _pushobsmarkers(peer._repo, data)
# compat-code: _pullobsolete
#
@@ -417,8 +416,8 @@
@eh.addattr(localrepo.localpeer, 'evoext_pullobsmarkers_0')
def local_pullobsmarkers(self, heads=None, common=None):
- return serveronly._getobsmarkersstream(self._repo, heads=heads,
- common=common)
+ return _getobsmarkersstream(self._repo, heads=heads,
+ common=common)
def _legacypush_capabilities(orig, repo, proto):
"""wrapper to advertise new capability"""