Mercurial > public > src > rhodecode
diff pylons_app/lib/middleware/simplehg.py @ 241:48727add84c9
Made repos path config configurable from pylons app configs. update Readme
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 30 May 2010 22:08:21 +0200 |
parents | a0116e944da1 |
children | fb7f066126cc |
line wrap: on
line diff
--- a/pylons_app/lib/middleware/simplehg.py Sun May 30 21:30:09 2010 +0200 +++ b/pylons_app/lib/middleware/simplehg.py Sun May 30 22:08:21 2010 +0200 @@ -56,7 +56,7 @@ #since we wrap into hgweb, just reset the path environ['PATH_INFO'] = '/' - self.baseui = make_ui() + self.baseui = make_ui(self.config['hg_app_repo_conf']) self.basepath = self.baseui.configitems('paths')[0][1]\ .replace('*', '') self.repo_path = os.path.join(self.basepath, repo_name)