hgext/remotefilelog/remotefilelogserver.py
changeset 40508 354acd0dc637
parent 40507 e2a1584e9e3f
child 40509 ed19958dbf5d
--- a/hgext/remotefilelog/remotefilelogserver.py	Thu Oct 04 00:11:37 2018 -0400
+++ b/hgext/remotefilelog/remotefilelogserver.py	Tue Oct 16 16:38:40 2018 -0400
@@ -29,6 +29,7 @@
     wireprotov1server,
 )
 from .  import (
+    constants,
     shallowrepo,
     shallowutil,
 )
@@ -197,7 +198,7 @@
             ui.configbool('remotefilelog', 'server'))):
             if isinstance(proto, _sshv1server):
                 # legacy getfiles method which only works over ssh
-                caps.append(shallowrepo.requirement)
+                caps.append(constants.NETWORK_CAP_LEGACY_SSH_GETFILES)
             caps.append('getflogheads')
             caps.append('getfile')
         return caps