ranking iteration, do nothing. Otherwise:
\item Add $\pc$ to $\allpatches$ if it is not there already.
+If it was added, recalculate $\allsrcs$ accordingly.
\item Set
$$
\set S \iassign h(\pcn)
- \cup
- \bigcup_{\p \in \allpatches}
- \bigcup_{H \in h(\pn) \lor H \in h(\py)}
- \{ \baseof{E} \; | \; E \in \pendsof{H}{\pcy} \}
+ \cup
+ \{ \baseof{E} \; | \; E \in \pendsof{\allsrcs}{\pcy} \}
$$
and $W \iassign w(h(\pcn))$
}
$$
-TODO define $\setmerge$
-
\item Finalise our putative direct dependencies
$
\Gamma \assign g(\pc, \Gamma)