Mercurial > kallithea
comparison 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 |
comparison
equal
deleted
inserted
replaced
602:8d970b568c13 | 603:95a502d94860 |
---|---|
84 """ | 84 """ |
85 recursive walk in root dir and return a set of all path in that dir | 85 recursive walk in root dir and return a set of all path in that dir |
86 based on repository walk function | 86 based on repository walk function |
87 """ | 87 """ |
88 index_paths_ = set() | 88 index_paths_ = set() |
89 tip = repo.get_changeset() | |
89 try: | 90 try: |
90 for topnode, dirs, files in repo.walk('/', 'tip'): | 91 for topnode, dirs, files in tip.walk('/'): |
91 for f in files: | 92 for f in files: |
92 index_paths_.add(jn(repo.path, f.path)) | 93 index_paths_.add(jn(repo.path, f.path)) |
93 for dir in dirs: | 94 for dir in dirs: |
94 for f in files: | 95 for f in files: |
95 index_paths_.add(jn(repo.path, f.path)) | 96 index_paths_.add(jn(repo.path, f.path)) |