equal
deleted
inserted
replaced
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 |