remove hg reference