diff options
author | Patrick Simianer <p@simianer.de> | 2014-07-04 13:34:52 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-07-04 13:34:52 +0200 |
commit | a3f9fb73ffe4f942851ff496a72ca2445ffd9e0a (patch) | |
tree | b0dc8837f4339710461c021bf8e6856c40a40347 /hg.rb | |
parent | e06dbc7fc9b7c24a7d66c4578f56e1596188abf8 (diff) |
fix
Diffstat (limited to 'hg.rb')
-rw-r--r-- | hg.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,7 @@ def HG::topological_sort nodes sorted.last.outgoing.each { |e| next if e.marked? e.mark += 1 - s << e.head if e.head.incoming.reject{ |f| f.mark==f.arity }.empty? + s << e.head if e.head.incoming.reject{ |f| f.marked? }.empty? } end return sorted |