Add version check to get_source.sh

Mikael Vidstedt mikael.vidstedt at oracle.com
Tue Jun 24 04:38:05 UTC 2014


Minor typo:

+ echo "WARNING: Mercurial version $rqstmajor.$rqstminor.$rqstrev or later is recommended. $hgwhere is version version $hgversion" >&2
"...version version..."
Otherwise fine!

Cheers,
Mikael

> On Jun 23, 2014, at 14:50, Mike Duigou <mike.duigou at oracle.com> wrote:
> 
> Hello all;
> 
> This is the changeset for the enhancement proposed last week. It adds version checks to get_source.sh script. Currently the script will abort if the Mercurial client is not found or is older than 1.5.0. If Mercurial client is older than 2.6.3 then a warning will be issued but the script will attempt to continue.
> 
> webrev: http://cr.openjdk.java.net/~mduigou/JDK-8047925/0/webrev/
> jbsbug: https://bugs.openjdk.java.net/browse/JDK-8047925
> 
> Mike



More information about the build-dev mailing list