Remove the hg state