##// END OF EJS Templates
fixed bug when whoosh failed indexing an new repository.
marcink -
r627:8d78d79b default
parent child Browse files
Show More
@@ -86,8 +86,9 b' class WhooshIndexingDaemon(object):'
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()
90 try:
89 try:
90 tip = repo.get_changeset()
91
91 for topnode, dirs, files in tip.walk('/'):
92 for topnode, dirs, files in tip.walk('/'):
92 for f in files:
93 for f in files:
93 index_paths_.add(jn(repo.path, f.path))
94 index_paths_.add(jn(repo.path, f.path))
General Comments 0
You need to be logged in to leave comments. Login now