From ea0fdb0acd295b3d803a7002bcf1924efb0c5b67 Mon Sep 17 00:00:00 2001 From: Johannes Bornhold Date: Mon, 12 Sep 2016 20:56:20 +0200 Subject: [PATCH] vcs middleware: Fix up TODO note Add more context to the existing TODO note. --- rhodecode/lib/middleware/vcs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rhodecode/lib/middleware/vcs.py b/rhodecode/lib/middleware/vcs.py index 9f143334..5ce5fd0b 100644 --- a/rhodecode/lib/middleware/vcs.py +++ b/rhodecode/lib/middleware/vcs.py @@ -181,7 +181,8 @@ class VCSMiddleware(object): repo_name, vcs_handler.basepath, vcs_handler.SCM): return HTTPNotFound()(environ, start_response) - # TODO(marcink): this is probably not needed anymore + # TODO: johbo: Needed for the Pyro4 backend and Mercurial only. + # Remove once we fully switched to the HTTP backend. environ['REPO_NAME'] = repo_name # register repo_name and it's config back to the handler