If foo
was a directory and then in the next commit it becomes a file (or a symlink in git) then this error occurs
File "/src/allura/Allura/allura/controllers/repository.py", line 688, in index
is_text = filepath and tree.get_blob_by_path(filepath) and tree.get_blob_by_path(filepath).has_html_view
File "/src/allura/Allura/allura/model/repository.py", line 1372, in get_blob_by_path
obj = self.get_obj_by_path(path)
File "/src/allura/Allura/allura/model/repository.py", line 1366, in get_obj_by_path
obj = obj[p]
TypeError: 'Blob' object is not subscriptable
Diff:
db/8431