diff rhodecode/config/environment.py @ 3797:d7488551578e beta

synced vcs with upstream - moved subprocessio module to VCS - many small changes to make embedded vcs as similar to to external lib - use only absolute imports - patch vcs config during load pylons env
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 27 Apr 2013 11:24:25 +0200
parents 88f11b5eb6db
children 07f8039ef090
line wrap: on
line diff
--- a/rhodecode/config/environment.py	Sat Apr 27 11:45:27 2013 +0200
+++ b/rhodecode/config/environment.py	Sat Apr 27 11:24:25 2013 +0200
@@ -18,7 +18,7 @@
 from rhodecode.lib import helpers
 from rhodecode.lib.auth import set_available_permissions
 from rhodecode.lib.utils import repo2db_mapper, make_ui, set_rhodecode_config,\
-    load_rcextensions, check_git_version
+    load_rcextensions, check_git_version, set_vcs_config
 from rhodecode.lib.utils2 import engine_from_config, str2bool
 from rhodecode.lib.db_manage import DbManage
 from rhodecode.model import init_model
@@ -114,4 +114,6 @@
     # store config reference into our module to skip import magic of
     # pylons
     rhodecode.CONFIG.update(config)
+
+    set_vcs_config(rhodecode.CONFIG)
     return config