changeset 2637:fc38df41b9b7 beta

Reverted delete zombie repos on server start, this can be misleading, and somehow dangerous option. It's better that server restarts as fast as possible without any magical functions going on. Cleanup can be still made from rescan option in admin
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 20 Jul 2012 19:38:46 +0200
parents 4dbc00e9d0c3
children 8e6cf847d9d8
files rhodecode/config/environment.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/config/environment.py	Fri Jul 20 12:57:48 2012 +0200
+++ b/rhodecode/config/environment.py	Fri Jul 20 19:38:46 2012 +0200
@@ -88,7 +88,7 @@
 
     repos_path = make_ui('db').configitems('paths')[0][1]
     repo2db_mapper(ScmModel().repo_scan(repos_path),
-                   remove_obsolete=True,)
+                   remove_obsolete=False, install_git_hook=False)
     set_available_permissions(config)
     config['base_path'] = repos_path
     set_rhodecode_config(config)