# HG changeset patch # User Mads Kiilerich # Date 2013-12-10 19:30:37 # Node ID ed91b2993cde48579ed8a596f3d1fae0547cc8f9 # Parent b20330417f57f832ad6412b64e623eb2daaeb2dd graph: show higest revs first (to the right), dead ends last (to the left) diff --git a/kallithea/lib/graphmod.py b/kallithea/lib/graphmod.py --- a/kallithea/lib/graphmod.py +++ b/kallithea/lib/graphmod.py @@ -112,7 +112,7 @@ def _colored(dag): # 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: