Mercurial > kallithea
diff rhodecode/lib/indexers/daemon.py @ 691:7486da5f0628 beta
Refactor codes for scm model
Some test updates, added test for admin user controller
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 14 Nov 2010 22:54:16 +0100 |
parents | 341beaa9edba |
children | 0dad296d2a57 |
line wrap: on
line diff
--- a/rhodecode/lib/indexers/daemon.py Sun Nov 14 22:18:51 2010 +0100 +++ b/rhodecode/lib/indexers/daemon.py Sun Nov 14 22:54:16 2010 +0100 @@ -33,7 +33,7 @@ sys.path.append(project_path) -from rhodecode.model.hg import HgModel +from rhodecode.model.scm import ScmModel from rhodecode.lib.helpers import safe_unicode from whoosh.index import create_in, open_dir from shutil import rmtree @@ -78,7 +78,7 @@ if not repo_location: raise Exception('You have to provide repositories location') - self.repo_paths = HgModel().repo_scan(self.repo_location, None, True) + self.repo_paths = ScmModel().repo_scan(self.repo_location, None, True) self.initial = False if not os.path.isdir(self.index_location): os.mkdir(self.index_location)