bugfix: fix setting of latest flag on revision removal

--HG--
branch : 0.9