Show More
@@ -27,6 +27,7 b' def graph(repo, start_rev, stop_rev):' | |||||
27 | """ |
|
27 | """ | |
28 |
|
28 | |||
29 | assert start_rev >= stop_rev |
|
29 | assert start_rev >= stop_rev | |
|
30 | assert stop_rev >= 0 | |||
30 | curr_rev = start_rev |
|
31 | curr_rev = start_rev | |
31 | revs = [] |
|
32 | revs = [] | |
32 | cl = repo.changelog |
|
33 | cl = repo.changelog |
@@ -588,7 +588,7 b' def graph(web, req, tmpl):' | |||||
588 | count = len(web.repo) |
|
588 | count = len(web.repo) | |
589 | changenav = webutil.revnavgen(rev, maxchanges, count, web.repo.changectx) |
|
589 | changenav = webutil.revnavgen(rev, maxchanges, count, web.repo.changectx) | |
590 |
|
590 | |||
591 |
tree = list(graphmod.graph(web.repo, rev, rev |
|
591 | tree = list(graphmod.graph(web.repo, rev, downrev)) | |
592 | canvasheight = (len(tree) + 1) * bg_height - 27; |
|
592 | canvasheight = (len(tree) + 1) * bg_height - 27; | |
593 |
|
593 | |||
594 | data = [] |
|
594 | data = [] |
General Comments 0
You need to be logged in to leave comments.
Login now