hg id is unavailable during CI/CD
I think this is more a question than a bug report or feature request so I'm hoping this is the right place to ask.
When running hg id --id
in one of my CI configurations, I get the error:
abort: repository requires features unknown to this Mercurial: sparserevlog!
According to https://www.mercurial-scm.org/wiki/MissingRequirement hg>=4.7
is required for sparserevlog
.
I use the revision ID to easily verify that the deployed version of an app is exactly the revision I'm expecting.
Would we be able to upgrade hg
on the runner to a version >=4.7
?
If not, is it possible to easily parse out the revision from another hg
command?
EDIT: hg --version
returns 4.0