mercurial/sshserver.py
changeset 4258 b11a2fb59cf5
parent 3891 6b4127c7d52a
child 4635 63b9d2deed48
equal deleted inserted replaced
4257:1b5c38e9d7aa 4258:b11a2fb59cf5
    71         capabilities: space separated list of tokens
    71         capabilities: space separated list of tokens
    72         '''
    72         '''
    73 
    73 
    74         caps = ['unbundle', 'lookup', 'changegroupsubset']
    74         caps = ['unbundle', 'lookup', 'changegroupsubset']
    75         if self.ui.configbool('server', 'uncompressed'):
    75         if self.ui.configbool('server', 'uncompressed'):
    76             caps.append('stream=%d' % self.repo.revlogversion)
    76             caps.append('stream=%d' % self.repo.changelog.version)
    77         self.respond("capabilities: %s\n" % (' '.join(caps),))
    77         self.respond("capabilities: %s\n" % (' '.join(caps),))
    78 
    78 
    79     def do_lock(self):
    79     def do_lock(self):
    80         '''DEPRECATED - allowing remote client to lock repo is not safe'''
    80         '''DEPRECATED - allowing remote client to lock repo is not safe'''
    81 
    81