changeset 37557 | 734515aca84d |
parent 37546 | 3a2367e6c6f2 |
child 37644 | 77c9ee77687c |
--- a/mercurial/wireprotov2server.py Tue Apr 10 18:13:28 2018 -0700 +++ b/mercurial/wireprotov2server.py Tue Apr 10 14:29:15 2018 -0700 @@ -365,6 +365,11 @@ def checkperm(self, perm): raise NotImplementedError +def httpv2apidescriptor(req, repo): + proto = httpv2protocolhandler(req, repo.ui) + + return _capabilitiesv2(repo, proto) + def _capabilitiesv2(repo, proto): """Obtain the set of capabilities for version 2 transports.