diff --git a/trac/versioncontrol/web_ui/changeset.py b/trac/versioncontrol/web_ui/changeset.py index 30fdc860e7..b17a22c50e 100644 --- a/trac/versioncontrol/web_ui/changeset.py +++ b/trac/versioncontrol/web_ui/changeset.py @@ -1189,7 +1189,8 @@ def kind_order(entry): if not reponame: entries.extend((True, repos.reponame, '/' + repos.reponame) for repos in rm.get_real_repositories() - if repos.is_viewable(req.perm)) + if repos.reponame and + repos.is_viewable(req.perm)) paths = [{'label': path + ('/' if isdir else ''), 'value': path, 'isdir': isdir}