Change Mercurial from Debian dependency to Python dependency