Consider using alternate workaround from JENKINS-14247.
Merge branch 'master' of github.com:jenkinsci/mercurial-plugin
Prefer to use an LTS as a baseline.