fix error in single commit view

This commit is contained in:
Sebastian Sdorra
2012-02-10 15:48:52 +01:00
parent a0fe6c30b4
commit d512b55d23

View File

@@ -193,8 +193,7 @@ if len(path) > 0:
appendChangesetsForPath(doc, repo, rev, path)
elif len(rev) > 0:
ctx = repo[rev]
changesets = createBasicNodes(doc, repo)
appendChangesetNode(doc, changesets, repo, ctx)
appendChangesetNode(doc, doc, ctx)
else:
if len(startNode) > 0 and len(endNode) > 0:
# start and end revision