equal
deleted
inserted
replaced
859 req.write(staticfile(static, fname, req) |
859 req.write(staticfile(static, fname, req) |
860 or self.t("error", error="%r not found" % fname)) |
860 or self.t("error", error="%r not found" % fname)) |
861 |
861 |
862 def do_capabilities(self, req): |
862 def do_capabilities(self, req): |
863 caps = ['unbundle'] |
863 caps = ['unbundle'] |
864 if self.repo.ui.configbool('server', 'stream'): |
864 if self.repo.ui.configbool('server', 'uncompressed'): |
865 caps.append('stream=%d' % self.repo.revlogversion) |
865 caps.append('stream=%d' % self.repo.revlogversion) |
866 resp = ' '.join(caps) |
866 resp = ' '.join(caps) |
867 req.httphdr("application/mercurial-0.1", length=len(resp)) |
867 req.httphdr("application/mercurial-0.1", length=len(resp)) |
868 req.write(resp) |
868 req.write(resp) |
869 |
869 |