builddependencies: extract function for getting successors
The code no longer makes a difference between single- and
mult-successor cases and just needs a set (or generator, really) of
successors to iterate over. Let's extract that into a function.
-------------------------
Evolve Commands Reference
-------------------------
.. highlight:: none
amend
-----
.. hghelp:: amend
evolve
------
.. hghelp:: evolve
fold
----
.. hghelp:: fold
metaedit
--------
.. hghelp:: metaedit
next
----
.. hghelp:: next
obslog
------
.. hghelp:: obslog
pdiff
-----
.. hghelp:: pdiff
previous
--------
.. hghelp:: previous
prune
-----
.. hghelp:: prune
pstatus
-------
.. hghelp:: pstatus
split
-----
.. hghelp:: split
touch
-----
.. hghelp:: touch
uncommit
--------
.. hghelp:: uncommit