diff --git a/pylons_app/lib/simplehg.py b/pylons_app/lib/simplehg.py --- a/pylons_app/lib/simplehg.py +++ b/pylons_app/lib/simplehg.py @@ -34,6 +34,8 @@ class SimpleHg(object): self.authenticate = AuthBasicAuthenticator(realm, authfunc) def __call__(self, environ, start_response): + #dirty fix for https + environ['wsgi.url_scheme'] = 'https' if not is_mercurial(environ): return self.application(environ, start_response) else: