changeset 4344:ed91b2993cde

graph: show higest revs first (to the right), dead ends last (to the left)
author Mads Kiilerich <madski@unity3d.com>
date Tue, 10 Dec 2013 19:30:37 +0100
parents b20330417f57
children 2da0dc09895a
files kallithea/lib/graphmod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/graphmod.py	Tue Dec 10 19:30:37 2013 +0100
+++ b/kallithea/lib/graphmod.py	Tue Dec 10 19:30:37 2013 +0100
@@ -112,7 +112,7 @@
 
         # Add unknown parents to nextrow
         tmprow = row[:]
-        tmprow[col:col + 1] = addparents
+        tmprow[col:col + 1] = reversed(addparents) # higest revs first (to the right), dead ends last (to the left)
         # Stop looking for non-existing ancestors
         nextrow = []
         for r in tmprow: