readthedocs.org: Build: incompatible Mercurial versions from VCS setup than build commands
Details
- Read the Docs project URL: https://readthedocs.org/projects/taskcluster-taskgraph/
- Build URL (if applicable): https://readthedocs.org/projects/taskcluster-taskgraph/builds/16259866/
- Read the Docs username (if applicable): ahal
Expected Result
The builds should succeed 😃
Actual Result
Builds fail as seen here. I don’t believe anything changed on the repo side, this was working a week or two ago.
hg identify --id
abort: repository requires features unknown to this Mercurial: sparserevlog!
(see https://mercurial-scm.org/wiki/MissingRequirement for more information)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (6 by maintainers)
Commits related to this issue
- Build: Mercurial (`hg`) compatibility with old versions We are using Ubuntu 20.04 LTS to perform the clone step (`readthedocs/build:ubuntu-20.04`) which comes with Mercurial v5.3.1 and install by def... — committed to readthedocs/readthedocs.org by humitos 2 years ago
- Build: Mercurial (`hg`) compatibility with old versions We are using Ubuntu 20.04 LTS to perform the clone step (`readthedocs/build:ubuntu-20.04`) which comes with Mercurial v5.3.1 and install by def... — committed to readthedocs/readthedocs.org by humitos 2 years ago
- docs: add '.readthedocs.yml' to use newer image to generate docs (no bug) This is an attempt to work around: https://github.com/readthedocs/readthedocs.org/issues/8995 — committed to taskcluster/taskgraph by ahal 2 years ago
Looks like pypy is working properly: https://readthedocs.org/projects/pypy/builds/16518308/
Thanks for looking.
Thanks, this works around the issue for me.
You can use
--config format.sparse-revlog=no
when cloning (or update the config of the thing doing the clone). This problem will arise in the future as we turn format variant on by default overtime. Maybe Mercurial need some generic flag to request clone compatible with version X