[mercurial] Removed unnecessary extensions.