# HG changeset patch # User Steve Losh # Date 1286502650 14400 # Node ID 2d608ce7ab0e30cdbcb05df57b3f03b70f2b2116 # Parent 5c12eeee395f5b3db37b11667a6c14af217eccc7 Moar. diff -r 5c12eeee395f -r 2d608ce7ab0e plugin/gundo.vim --- a/plugin/gundo.vim Thu Oct 07 21:41:14 2010 -0400 +++ b/plugin/gundo.vim Thu Oct 07 21:50:50 2010 -0400 @@ -326,7 +326,7 @@ def generate(dag, edgefn): seen, state = [], [0, 0] buf = Buffer() - for node, parents in dag: + for node, parents in list(dag)[:-1]: char = '@' if node.n == int(current) else 'o' ascii(buf, state, 'C', char, ['[%s]' % str(node.n)], edgefn(seen, node, parents)) return buf.b