Adding hg version check to get_source.sh?
iris.clark at oracle.com
Wed Jun 18 16:12:49 UTC 2014
The minimum recommended version of Hg on the client side is 2.6.3 [1, 2]. I'd recommend a warning for anything older than that.
From: Mike Duigou
Sent: Tuesday, June 17, 2014 2:36 PM
To: build-dev build-dev
Subject: Adding hg version check to get_source.sh?
With the upgrade of the hg.openjdk.java.net servers very old mercurial clients can no longer be used (0.9.5) and there have been persistent reports of more frequent connection failures. The older your mercurial client the more likely the failures are.
jdk: hg clone http://hg.openjdk.java.net/jdk9/dev/jdk jdk
jdk: requesting all changes
jdk: adding changesets
jdk: adding manifests
jdk: transaction abort!
jdk: rollback completed
jdk: abort: stream ended unexpectedly (got 8372 bytes, expected 10932)
I would like to add a version check to get_source.sh which will require mercurial 1.5 or later and warn for clients older than 1.9.
More information about the build-dev