##// END OF EJS Templates
made fix for pushing/pulling into paths that end with /
marcink -
r445:946d8a68 default
parent child Browse files
Show More
@@ -72,6 +72,8 b' class SimpleHg(object):'
72
72
73 try:
73 try:
74 repo_name = '/'.join(environ['PATH_INFO'].split('/')[1:])
74 repo_name = '/'.join(environ['PATH_INFO'].split('/')[1:])
75 if repo_name.endswith('/'):
76 repo_name = repo_name.rstrip('/')
75 except:
77 except:
76 log.error(traceback.format_exc())
78 log.error(traceback.format_exc())
77 return HTTPInternalServerError()(environ, start_response)
79 return HTTPInternalServerError()(environ, start_response)
General Comments 0
You need to be logged in to leave comments. Login now