status: various cleanups
- rename lookup to cmp for formatting reasons
- reduce nesting level of fixup code
- sort fixup results
- group comparison cases in a separate clause
- make list initialization simpler
- delay flag lookup for working directory
- sort removed list in comparison
- avoid sorting already sorted lists
#motd#
<div class="logo">
<a href="http://www.selenic.com/mercurial/">
<img src="#staticurl#hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
</div>
</body>
</html>