add hg extension