Remove mercurial hangovers