--- a/ForgeSVN/forgesvn/svn_main.py
+++ b/ForgeSVN/forgesvn/svn_main.py
@@ -126,12 +126,10 @@
def index(self, offset=0):
offset=int(offset)
repo = c.app.repo
- #avoid the repo.log() call as it might be timing out
- revisions = []
- #if repo and repo.status=='ready':
- # revisions = islice(repo.log(), offset, offset+10)
- #else:
- # revisions = []
+ if repo and repo.status=='ready':
+ revisions = repo.log(offset=offset, limit=10)
+ else:
+ revisions = []
c.revision_widget=W.revision_widget
next_link='?' + urlencode(dict(offset=offset+10))
username = ''