##// END OF EJS Templates
Changed simplehg middleware repo name function
marcink -
r116:345811fa default
parent child Browse files
Show More
@@ -12,7 +12,8 b' class SimpleHg(object):'
12 12 if not is_mercurial(environ):
13 13 return self.application(environ, start_response)
14 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 17 if not environ['PATH_INFO'].endswith == '/':
17 18 environ['PATH_INFO'] += '/'
18 19 #environ['SCRIPT_NAME'] = request.path
General Comments 0
You need to be logged in to leave comments. Login now