diff -r d054cc5c7737 -r 67863f9d805f mercurial/hgweb/protocol.py --- a/mercurial/hgweb/protocol.py Thu Jul 15 11:24:42 2010 -0500 +++ b/mercurial/hgweb/protocol.py Thu Jul 15 13:56:52 2010 -0500 @@ -21,14 +21,3 @@ ] HGTYPE = 'application/mercurial-0.1' -basecaps = 'lookup changegroupsubset branchmap pushkey'.split() - -def capabilities(repo, req): - caps = copy.copy(basecaps) - if streamclone.allowed(repo.ui): - caps.append('stream=%d' % repo.changelog.version) - if changegroupmod.bundlepriority: - caps.append('unbundle=%s' % ','.join(changegroupmod.bundlepriority)) - rsp = ' '.join(caps) - req.respond(HTTP_OK, HGTYPE, length=len(rsp)) - yield rsp