version spin for hg