Show More
@@ -12,7 +12,8 b' class SimpleHg(object):' | |||||
12 | if not is_mercurial(environ): |
|
12 | if not is_mercurial(environ): | |
13 | return self.application(environ, start_response) |
|
13 | return self.application(environ, start_response) | |
14 | else: |
|
14 | else: | |
15 | repo_name = environ['PATH_INFO'].replace('/', '') |
|
15 | #repo_name = environ['PATH_INFO'].replace('/', '') | |
|
16 | repo_name = environ['PATH_INFO'].split('/')[1] | |||
16 | if not environ['PATH_INFO'].endswith == '/': |
|
17 | if not environ['PATH_INFO'].endswith == '/': | |
17 | environ['PATH_INFO'] += '/' |
|
18 | environ['PATH_INFO'] += '/' | |
18 | #environ['SCRIPT_NAME'] = request.path |
|
19 | #environ['SCRIPT_NAME'] = request.path |
General Comments 0
You need to be logged in to leave comments.
Login now