Updating the new hg for jdk 10 repo (#210)
Updating the new hg for jdk 10 repo (#210)

* Ensuring the JVM_VARIANT variable is being populated with the value from the appropriate value from environment

* Changing the current source of changesets for JDK 10 from jdk10/jdk10 (http://hg.openjdk.java.net/jdk10/jdk10) to jdk/jdk (http://hg.openjdk.java.net/jdk/jdk/)

As per @Shura, the new announcement points to this change - http://mail.openjdk.java.net/pipermail/jdk-dev/2017-December/000388.html

* Amended diff.sh to make it compatible with changes to setup10.sh, we will pass in the versions and root folder info as parameters from Jenkins or CLI

* Updated script and refactored it to make it able to receive parameters and traverse through the hg forest, not just read the directory names off the drive to determine forest root and repo name

karianna/openjdk-build,AdoptOpenJDK/openjdk-build,AdoptOpenJDK/openjdk-build,karianna/openjdk-build