如何使用Mercurial克隆OpenJDK存储库?
我想从那里克隆Java源代码,以了解它们在JDK8中正在开发什么,并希望在可能的情况下进行合作。
存储库已链接到http://openjdk.java.net/。克隆它并执行get_source.sh
脚本。
$ hg clone http://hg.openjdk.java.net/jdk8/jdk8
$ cd jdk8 && sh get_source.sh
您要复制的版本的at the README。
完成another answer said之后:
hg clone http://hg.openjdk.java.net/jdk8/jdk8
您还需要运行:
sh get_source.sh
实际上是克隆大多数源代码,这些源代码被分成多个子存储库。
相关:How can I checkout the OpenJDK from the mercurial repository?