Mercurial > kallithea
diff rhodecode/config/environment.py @ 2622:0ffcbeb76e4f beta
Do cleanup on repo2db mapper
- fixed issue with install git hook function
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 16 Jul 2012 16:02:46 +0200 |
parents | 380d6d86da1f |
children | fc38df41b9b7 |
line wrap: on
line diff
--- a/rhodecode/config/environment.py Mon Jul 16 16:01:15 2012 +0200 +++ b/rhodecode/config/environment.py Mon Jul 16 16:02:46 2012 +0200 @@ -87,7 +87,8 @@ init_model(sa_engine_db1) repos_path = make_ui('db').configitems('paths')[0][1] - repo2db_mapper(ScmModel().repo_scan(repos_path)) + repo2db_mapper(ScmModel().repo_scan(repos_path), + remove_obsolete=True,) set_available_permissions(config) config['base_path'] = repos_path set_rhodecode_config(config)