Changeset - 946d8a680a1d
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 15 years ago 2010-09-02 21:37:52
marcin@python-works.com
made fix for pushing/pulling into paths that end with /
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pylons_app/lib/middleware/simplehg.py
Show inline comments
 
@@ -72,6 +72,8 @@ class SimpleHg(object):
 
        
 
        try:
 
            repo_name = '/'.join(environ['PATH_INFO'].split('/')[1:])
 
            if repo_name.endswith('/'):
 
                repo_name = repo_name.rstrip('/')
 
        except:
 
            log.error(traceback.format_exc())
 
            return HTTPInternalServerError()(environ, start_response)
0 comments (0 inline, 0 general)