With #26843 we now require mercurial to be installed, so it should be installed by the tbb-build ansible role.