Mercurial > kallithea
comparison rhodecode/lib/db_manage.py @ 560:3072935bdeed
rewrote whoosh indexing to run internal repository.walk() instead of filesystem.
Disabled default hg update hook (not needed since whoosh is not dependent on file system files to index)
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 09 Oct 2010 00:22:19 +0200 |
parents | 03676d39dd0a |
children | 000b675e7c1d |
comparison
equal
deleted
inserted
replaced
559:bc4633a41967 | 560:3072935bdeed |
---|---|
113 | 113 |
114 hooks1 = RhodeCodeUi() | 114 hooks1 = RhodeCodeUi() |
115 hooks1.ui_section = 'hooks' | 115 hooks1.ui_section = 'hooks' |
116 hooks1.ui_key = 'changegroup.update' | 116 hooks1.ui_key = 'changegroup.update' |
117 hooks1.ui_value = 'hg update >&2' | 117 hooks1.ui_value = 'hg update >&2' |
118 hooks1.ui_active = False | |
118 | 119 |
119 hooks2 = RhodeCodeUi() | 120 hooks2 = RhodeCodeUi() |
120 hooks2.ui_section = 'hooks' | 121 hooks2.ui_section = 'hooks' |
121 hooks2.ui_key = 'changegroup.repo_size' | 122 hooks2.ui_key = 'changegroup.repo_size' |
122 hooks2.ui_value = 'python:rhodecode.lib.hooks.repo_size' | 123 hooks2.ui_value = 'python:rhodecode.lib.hooks.repo_size' |