Show More
@@ -161,6 +161,12 b' def parserequestfromenv(env, reponame=No' | |||
|
161 | 161 | env = {k: v.encode('latin-1') if isinstance(v, str) else v |
|
162 | 162 | for k, v in env.iteritems()} |
|
163 | 163 | |
|
164 | # Some hosting solutions are emulating hgwebdir, and dispatching directly | |
|
165 | # to an hgweb instance using this environment variable. This was always | |
|
166 | # checked prior to d7fd203e36cc; keep doing so to avoid breaking them. | |
|
167 | if not reponame: | |
|
168 | reponame = env.get('REPO_NAME') | |
|
169 | ||
|
164 | 170 | if altbaseurl: |
|
165 | 171 | altbaseurl = util.url(altbaseurl) |
|
166 | 172 |
General Comments 0
You need to be logged in to leave comments.
Login now