Switch to side-by-side view
--- a/ForgeSVN/forgesvn/controllers.py +++ b/ForgeSVN/forgesvn/controllers.py @@ -14,7 +14,7 @@ @with_trailing_slash def index(self, limit=None, page=0, count=0, **kw): latest = c.app.repo.latest(branch=self._branch) - if not latest or (latest.object_id.split(':')[1] == '1' and h.has_access(c.app, 'write')()): + if not latest or (latest._id.split(':')[1] == '1' and h.has_access(c.app, 'write')()): return dict(allow_fork=False, log=[]) redirect(latest.url() + 'tree/')