Move Mercurial extension to a different package