##// END OF EJS Templates
graphlog: attempt to fix index overrun (issue2912)...
Matt Mackall -
r15032:eb87fbc6 stable
parent child Browse files
Show More
@@ -95,6 +95,8 b' def draw_edges(edges, nodeline, interlin'
95 elif start == end:
95 elif start == end:
96 interline[2 * start] = "|"
96 interline[2 * start] = "|"
97 else:
97 else:
98 if 2 * end >= len(nodeline):
99 continue
98 nodeline[2 * end] = "+"
100 nodeline[2 * end] = "+"
99 if start > end:
101 if start > end:
100 (start, end) = (end, start)
102 (start, end) = (end, start)
General Comments 0
You need to be logged in to leave comments. Login now