stack: handle external-children just like other states
This also fixes color labels: previously when external-children was combined
with another state, --color=debug would show something like:
[topic.stack.index topic.stack.index.current - external-children|s4]
Now there is a separate label for each state.
This software was downloaded fromhttps://www.mercurial-scm.org/repo/evolve/Copyright 2011 Peter Arrenbrecht <peter.arrenbrecht@gmail.com> Logilab SA <contact@logilab.fr> Pierre-Yves David <pierre-yves.david@ens-lyon.org> Patrick Mezard <patrick@mezard.eu>This software may be used and distributed according to the terms of the GNUGeneral Public License version 2 or any later version.On Debian systems, the complete text of the GNU General Public License version2 can be found in `/usr/share/common-licenses/GPL-2'.