Better recovery from errors; fixes to potential race conditions in scheduler and repository queue

(0) -30 -10 -1 +1 +10 +30 tip

mercurial