# HG changeset patch # User andrew # Date 1376000411 -3600 # Node ID 2ce335eb4926b0c7b59098159f33d452e8bf2d95 # Parent 8f7b2e697b59ef2978e7da381ae657185e9b2cc0# Parent 12c2f4ce55d074f0be94781d98cbbbcf8299b666 Merge jdk7u25-b16 diff -r 8f7b2e697b59 -r 2ce335eb4926 .hgtags --- a/.hgtags Thu Jul 25 20:48:32 2013 +0100 +++ b/.hgtags Thu Aug 08 23:20:11 2013 +0100 @@ -215,6 +215,7 @@ 02128561d696aaaa1a12b0ebfad2580cbbe04b87 icedtea-2.3.6 02128561d696aaaa1a12b0ebfad2580cbbe04b87 icedtea-2.3.6 0000000000000000000000000000000000000000 icedtea-2.3.6 +43775eae8df6c874fb3631c86009505cf3821b1f jdk7u6-b31 43775eae8df6c874fb3631c86009505cf3821b1f jdk7u7-b10 a380c75873bfb578e605d4362edb18c08698cc3e jdk7u7-b30 d7f2b3949f9c9ff1115ea61c496d3cd4c62e2759 jdk7u7-b11 @@ -228,6 +229,8 @@ dbfa9c57853c2dd9cd4e4a139d83b519573d8031 jdk7u9-b02 3159fbe20e2d9501007aae8ca3db58978d754561 jdk7u9-b04 d9c8fa0606fdfff242175ce904c525a6fc40d6e5 jdk7u9-b05 +81f8b620894e275012a1b447f13319b7d2148b28 jdk7u9-b31 +d247cdeb828f4463b55ea53c4b2d6346f7706c3c jdk7u9-b32 d934ce27cddbc9ba7236791f177872491204a41e jdk7u10-b10 5a5ee5b70d563d5817b6ec023d275e9b17256459 jdk7u10-b11 48b58c2d665c9a1d3598b981e46f87f9bcdd5b46 jdk7u10-b12 @@ -238,8 +241,11 @@ 494e838439db7f0f4e36f7dcfeba06d2bef78c8d jdk7u10-b17 dce9058d2151e6b5c84898c13cfd1521a627a296 jdk7u10-b18 b5fb925394331313dbe3859fdc408bfd37193476 jdk7u10-b30 +337ce65c8c356766212812b78f49f5632995987d jdk7u10-b31 c2d5141baeda6c9b5bbc83c21eff9c3940fefae4 jdk7u11-b20 168aa0f1417b3651a955ae66068dc148b660f829 jdk7u11-b21 +7c0710ed65b097d415f772ff4fb58c4822890aa3 jdk7u11-b32 +61cee7a518a4ae05439490ec388c3ab1d1d899f2 jdk7u11-b33 c8a37a49fc90ae31b864544d6d4a9f6137d4995d jdk7u11-b03 0b418e2ccf9093718609144689d1a8b316ad951f jdk7u11-b04 e127e6c94b56f7348df67d9672c16a7dc9c5ec5e jdk7u11-b05 @@ -257,6 +263,8 @@ 0e52db2d9bb8bc789f6c66f2cfb7cd2d3b0b16c6 jdk7u15-b01 0324fca94d073b3aad77658224f17679f25c18b1 jdk7u15-b02 25a9d44cebf2a7ac6dd1748c94e00b242403acb1 jdk7u15-b30 +5c1b2900a65b5ebe9d2a5c9b48903081c8196b04 jdk7u15-b31 +e7adbfbcd837ad4e9f88db45612e5704b7a249fd jdk7u15-b33 f37a75bd39595ba38bdc53ee957c63bbb3cbb12d jdk7u15-b03 2412f7b8551ede5296cb6e1d6189f40aad9eeffe jdk7u15-b32 0c2b2dae93e7a720bbcc2e13a1913a2264335554 jdk7u17-b01 @@ -264,3 +272,34 @@ fb1ac57ada6c9de6313982f0ab63276547b8819b icedtea-2.3.10 f143f229bd127586e9553378c115136f461e58c2 icedtea-2.3.11 e62743867f54fd52b397541a266cc1c35f25ee3c icedtea-2.3.12 +8e49ff2feda30801d7826ca1778eb7b901a7089c jdk7u17-b02 +933d424580f967ed11eda2bbfd690f985a72df6e jdk7u17-b30 +790582955edb617b41abbc73cf82544dbf8c1d97 jdk7u17-b31 +941539a9f6441f053e8e7f31064944b2fc08879f jdk7u17-b32 +527d3cf769ec073d7348e4c31f97c47c943c96b6 jdk7u21-b01 +bc264b362dc7b4f2bda34e1a5b87a4f0c2bd4d82 jdk7u21-b02 +20603c659295a40c7f16259cb08c91475092efed jdk7u21-b03 +d2b1fdd8ee0affe640c7493ab3ae04fcc1961446 jdk7u21-b04 +2d6657f92359d1d46b355fd0c99b8aa5f34832e4 jdk7u21-b05 +14522481739dc6981beb5cc55d543dcc62cda067 jdk7u21-b06 +0df382e8c17bf817d55fc8759c7f5c9e9d0337f0 jdk7u21-b07 +1aff32a21aba64c3767e9a72ebf1b8ba490e99ec jdk7u21-b08 +a2e0099b4cf70be026a7a0ba7918fcd71d57fdce jdk7u21-b09 +602ad1a5b09fb9136e8bf1b708e0524fbdb35324 jdk7u21-b10 +fa322ca378324750ea049f2e92357e51eca27ae4 jdk7u21-b11 +450e8dde919df278fe75ae95e0eb0a6464f5bc41 jdk7u21-b30 +170520883597f90771aca8251a8d089e7566e4bf jdk7u21-b12 +50bfbd21bf42f6ae4167226ac45cd79e0ab7758c jdk7u25-b03 +a94c9aa356bbed13c1e2b4a9a380117ddff1668f jdk7u25-b04 +29a789ae14dc09a50eb45d3445075642e77490a2 jdk7u25-b05 +8a7c657b7536006633b5e961d93e2173712a64fa jdk7u25-b06 +d45374e7c7eeb4e01d9f239e71e8a8aff453d55a jdk7u25-b07 +b01002577912b89306e88a9973b6f3bc049a2a69 jdk7u25-b08 +84285f4e0aa2f81b80bc6fbe713d768c0d9a7156 jdk7u25-b09 +aae1e27d347b71f65f548c12b918ede98d869b7c jdk7u25-b10 +039f12124903cd0b7633a17a26f6ca281f7aaeae jdk7u25-b11 +2d02518960053d2b1dcb9aabacd709788e92c549 jdk7u25-b12 +37c4268341d79b16165bdaf7e1fad489d692bc83 jdk7u25-b13 +9de1fc3635def64c19c51f272f09b51d8cf0ca98 jdk7u25-b14 +2197dde877124579204c5266fa9d89166760b44f jdk7u25-b15 +9846c505054fb91762f3fd9b817d1a9760322029 jdk7u25-b30 diff -r 8f7b2e697b59 -r 2ce335eb4926 get_source.sh --- a/get_source.sh Thu Jul 25 20:48:32 2013 +0100 +++ b/get_source.sh Thu Aug 08 23:20:11 2013 +0100 @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -26,7 +26,7 @@ # # Get clones of all nested repositories -sh ./make/scripts/hgforest.sh clone +sh ./make/scripts/hgforest.sh clone $* # Update all existing repositories to the latest sources sh ./make/scripts/hgforest.sh pull -u diff -r 8f7b2e697b59 -r 2ce335eb4926 make/scripts/hgforest.sh --- a/make/scripts/hgforest.sh Thu Jul 25 20:48:32 2013 +0100 +++ b/make/scripts/hgforest.sh Thu Aug 08 23:20:11 2013 +0100 @@ -1,7 +1,7 @@ #!/bin/sh # -# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it @@ -24,6 +24,8 @@ # # Shell script for a fast parallel forest command +command="$1" +pull_extra_base="$2" tmp=/tmp/forest.$$ rm -f -r ${tmp} @@ -35,40 +37,58 @@ # Only look in specific locations for possible forests (avoids long searches) pull_default="" -if [ "$1" = "clone" -o "$1" = "fclone" ] ; then +repos="" +repos_extra="" +if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then subrepos="corba jaxp jaxws langtools jdk hotspot" if [ -f .hg/hgrc ] ; then pull_default=`hg paths default` + if [ "${pull_default}" = "" ] ; then + echo "ERROR: Need initial clone with 'hg paths default' defined" + exit 1 + fi fi if [ "${pull_default}" = "" ] ; then - echo "ERROR: Need initial clone with 'hg paths default' defined" + echo "ERROR: Need initial repository to use this script" exit 1 fi - repos="" for i in ${subrepos} ; do if [ ! -f ${i}/.hg/hgrc ] ; then repos="${repos} ${i}" fi done + if [ "${pull_extra_base}" != "" ] ; then + subrepos_extra="jdk/src/closed jdk/make/closed jdk/test/closed hotspot/src/closed hotspot/test/closed deploy install sponsors pubs" + pull_default_tail=`echo ${pull_default} | sed -e 's@^.*://[^/]*/\(.*\)@\1@'` + pull_extra="${pull_extra_base}/${pull_default_tail}" + for i in ${subrepos_extra} ; do + if [ ! -f ${i}/.hg/hgrc ] ; then + repos_extra="${repos_extra} ${i}" + fi + done + fi at_a_time=2 + # Any repos to deal with? + if [ "${repos}" = "" -a "${repos_extra}" = "" ] ; then + echo "No repositories to clone." + exit + fi else hgdirs=`ls -d ./.hg ./*/.hg ./*/*/.hg ./*/*/*/.hg ./*/*/*/*/.hg 2>/dev/null` # Derive repository names from the .hg directory locations - repos="" for i in ${hgdirs} ; do repos="${repos} `echo ${i} | sed -e 's@/.hg$@@'`" done at_a_time=8 + # Any repos to deal with? + if [ "${repos}" = "" ] ; then + echo "No repositories to process." + exit + fi fi -# Any repos to deal with? -if [ "${repos}" = "" ] ; then - echo "No repositories to process." - exit -fi - -# Echo out what repositories we will process -echo "# Repos: ${repos}" +# Echo out what repositories we will clone +echo "# Repos: ${repos} ${repos_extra}" # Run the supplied command on all repos in parallel, save output until end n=0 @@ -77,8 +97,9 @@ n=`expr ${n} '+' 1` ( ( - if [ "$1" = "clone" -o "$1" = "fclone" ] ; then - cline="hg $* ${pull_default}/${i} ${i}" + if [ "${command}" = "clone" -o "${command}" = "fclone" ] ; then + pull_newrepo="`echo ${pull_default}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`" + cline="hg clone ${pull_newrepo} ${i}" echo "# ${cline}" ( eval "${cline}" ) else @@ -92,10 +113,29 @@ sleep 5 fi done - # Wait for all hg commands to complete wait +if [ "${repos_extra}" != "" ] ; then + for i in ${repos_extra} ; do + echo "Starting on ${i}" + n=`expr ${n} '+' 1` + ( + ( + pull_newextrarepo="`echo ${pull_extra}/${i} | sed -e 's@\([^:]/\)//*@\1@g'`" + cline="hg clone ${pull_newextrarepo} ${i}" + echo "# ${cline}" + ( eval "${cline}" ) + echo "# exit code $?" + ) > ${tmp}/repo.${n} 2>&1 ; cat ${tmp}/repo.${n} ) & + if [ `expr ${n} '%' ${at_a_time}` -eq 0 ] ; then + sleep 5 + fi + done + # Wait for all hg commands to complete + wait +fi + # Cleanup rm -f -r ${tmp}