Mercurial > kallithea
diff rhodecode/lib/indexers/daemon.py @ 603:95a502d94860
removed soon deprecated walk method on repository instance
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 18 Oct 2010 01:14:40 +0200 |
parents | 80dc0a23edf7 |
children | 8d78d79b67a3 |
line wrap: on
line diff
--- a/rhodecode/lib/indexers/daemon.py Tue Oct 12 23:19:29 2010 +0200 +++ b/rhodecode/lib/indexers/daemon.py Mon Oct 18 01:14:40 2010 +0200 @@ -86,8 +86,9 @@ based on repository walk function """ index_paths_ = set() + tip = repo.get_changeset() try: - for topnode, dirs, files in repo.walk('/', 'tip'): + for topnode, dirs, files in tip.walk('/'): for f in files: index_paths_.add(jn(repo.path, f.path)) for dir in dirs: