~rbn/buildslack

9111564ba47440ba17ea13c01df00f00f36cb41a — Ruben Schuller 7 months ago 03fe891
remove duplicates from update queue

duplicates inserted due to mtime detection are now removed
1 files changed, 3 insertions(+), 0 deletions(-)

M queue.tcl
M queue.tcl => queue.tcl +3 -0
@@ 182,6 182,9 @@ namespace eval ::buildslack::queue {
			log::log debug "reverse dependencies of $prgnam: [ join $x {, } ]"
		}

		# remove duplicates from reversed queue to keep the last one, reverse to restore order
		set q [ lreverse [ uniqueList [ lreverse $q ] ] ]

		log::log info "queue: $q"

		foreach x $q {