Hi David, I also expected it to work out of the box. I am attaching a log of what I did. After "hg up jdk7u25-b34" on master and "clone master to dev" and "get_source.sh" on dev repo I expected to set HSX 23 but I got HSX24. And this led me to my question.
Thanks, Ivan On Aug 20, 2013, at 2:43 PM, David Holmes <david.hol...@oracle.com> wrote: > On 20/08/2013 7:59 PM, Ivan Krylov wrote: >> This worked. >> I was trying to update to revision instead of updating to tag and this >> didn't work for subrepos. >> >> Another related question (i hope this isn't far off topic): suppose I have >> my own master repository that I synced to a given tag. >> I want all future clones made from my master to be also synced to the same >> tag without doing hg up <tag> in every child. >> How to do so? > > Doesn't it "just work" like that. If your repo is the master and only pulled > down the changesets up to a certain tag then I would expect any clones of > that repo would be limited by the same tag. > > Easy enough for you to test.. :) > > David > >> Thanks, >> Ivan >> >> On Aug 20, 2013, at 10:20 AM, Alexander Zuev <alexander.z...@oracle.com> >> wrote: >> >>> Ivan, >>> >>> instead of the separate repositories there are tags. >>> List of tags can be seen at http://hg.openjdk.java.net/jdk7u/jdk7u-dev/tags >>> So just clone the 7u-dev workspace and update it and all of the >>> subrepositories to the desired tag >>> (latest build number of the needed update release). For example for jdk7u8 >>> tag is jdk7u8-b05. >>> Just perform hg up jdk7u8-b05 in all the repos and you'll get it. >>> >>> The online archives for all the openjdk mailing lists can be found at >>> http://mail.openjdk.java.net/pipermail/<list_name>/ >>> For this list it's http://mail.openjdk.java.net/pipermail/jdk7u-dev/ >>> The full list of all the openjdk mailing lists can be found at >>> http://mail.openjdk.java.net/mailman/listinfo >>> >>> With best regards, >>> /Alex >>> >>> >>> On 8/20/13 24:46, Ivan Krylov wrote: >>>> Hello, >>>> >>>> How to get an 7updateN repository where 6 < N < 40? >>>> There is no hg.openjdk.java.net/jdk7u/jdk7u25 repository as far as I see. >>>> >>>> This must have been discussed here many times before but I ma behind the >>>> times and searching online archives is painful ) >>>> BTW, what would be a good place to browse/search openjdk mail aliases >>>> archives? >>>> >>>> Thanks, >>>> >>>> Ivan >>>> >>>> >>>> >>> >>
/myproj >hg clone http://hg.openjdk.java.net/jdk7u/jdk7u 7u_master requesting all changes adding changesets adding manifests adding file changes added 724 changesets with 696 changes to 34 files updating to branch default 33 files updated, 0 files merged, 0 files removed, 0 files unresolved /myproj >cd 7u_master /myproj/7u_master >sh ./get_source.sh # Repos: corba jaxp jaxws langtools jdk hotspot Starting on corba Starting on jaxp Starting on jaxws Starting on langtools # hg clone http://hg.openjdk.java.net/jdk7u/jdk7u/corba corba requesting all changes adding changesets adding manifests adding file changes added 660 changesets with 3656 changes to 1382 files updating to branch default 1337 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 Starting on jdk Starting on hotspot # hg clone http://hg.openjdk.java.net/jdk7u/jdk7u/langtools langtools requesting all changes adding changesets adding manifests adding file changes added 1495 changesets with 13567 changes to 4798 files updating to branch default 4458 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 # hg clone http://hg.openjdk.java.net/jdk7u/jdk7u/jaxws jaxws requesting all changes adding changesets adding manifests adding file changes added 569 changesets with 9679 changes to 5885 files updating to branch default 2898 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 # hg clone http://hg.openjdk.java.net/jdk7u/jdk7u/jaxp jaxp requesting all changes adding changesets adding manifests adding file changes added 636 changesets with 5013 changes to 4092 files updating to branch default 2073 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 # hg clone http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot hotspot requesting all changes adding changesets adding manifests adding file changes added 4721 changesets with 27868 changes to 4646 files updating to branch default 4239 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 # hg clone http://hg.openjdk.java.net/jdk7u/jdk7u/jdk jdk requesting all changes adding changesets adding manifests adding file changes added 6533 changesets with 64485 changes to 21845 files updating to branch default 20569 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 # Repos: . ./corba ./hotspot ./jaxp ./jaxws ./jdk ./langtools Starting on . Starting on ./corba Starting on ./hotspot Starting on ./jaxp Starting on ./jaxws Starting on ./jdk Starting on ./langtools # cd ./hotspot && hg pull -u pulling from http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot searching for changes no changes found # exit code 0 # cd ./jaxp && hg pull -u pulling from http://hg.openjdk.java.net/jdk7u/jdk7u/jaxp searching for changes no changes found # exit code 0 # cd ./jaxws && hg pull -u pulling from http://hg.openjdk.java.net/jdk7u/jdk7u/jaxws searching for changes no changes found # exit code 0 # cd ./langtools && hg pull -u pulling from http://hg.openjdk.java.net/jdk7u/jdk7u/langtools searching for changes no changes found # exit code 0 # cd ./corba && hg pull -u pulling from http://hg.openjdk.java.net/jdk7u/jdk7u/corba searching for changes no changes found # exit code 0 # cd . && hg pull -u pulling from http://hg.openjdk.java.net/jdk7u/jdk7u searching for changes no changes found # exit code 0 # cd ./jdk && hg pull -u pulling from http://hg.openjdk.java.net/jdk7u/jdk7u/jdk searching for changes no changes found # exit code 0 /myproj/7u_master >tail -n 15 /myproj/7u_master/hotspot/make/hotspot_version # # Don't put quotes (fail windows build). HOTSPOT_VM_COPYRIGHT=Copyright 2013 HS_MAJOR_VER=24 HS_MINOR_VER=0 HS_BUILD_NUMBER=55 JDK_MAJOR_VER=1 JDK_MINOR_VER=7 JDK_MICRO_VER=0 # Previous (bootdir) JDK version JDK_PREVIOUS_VERSION=1.6.0 /myproj/7u_master >cd .. /myproj >cd 7u_master/ /myproj/7u_master >sh ./make/scripts/hgforest.sh up jdk7u25-b34 # Repos: . ./corba ./hotspot ./jaxp ./jaxws ./jdk ./langtools Starting on . Starting on ./corba Starting on ./hotspot Starting on ./jaxp Starting on ./jaxws Starting on ./jdk Starting on ./langtools # cd . && hg up jdk7u25-b34 11 files updated, 0 files merged, 1 files removed, 0 files unresolved # exit code 0 # cd ./langtools && hg up jdk7u25-b34 48 files updated, 0 files merged, 16 files removed, 0 files unresolved # exit code 0 # cd ./jdk && hg up jdk7u25-b34 988 files updated, 0 files merged, 206 files removed, 0 files unresolved # exit code 0 # cd ./hotspot && hg up jdk7u25-b34 981 files updated, 0 files merged, 201 files removed, 0 files unresolved # exit code 0 # cd ./corba && hg up jdk7u25-b34 23 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 # cd ./jaxp && hg up jdk7u25-b34 129 files updated, 0 files merged, 6 files removed, 0 files unresolved # exit code 0 # cd ./jaxws && hg up jdk7u25-b34 2 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 /myproj/7u_master >tail -n 15 /myproj/7u_master/hotspot/make/hotspot_version # # Don't put quotes (fail windows build). HOTSPOT_VM_COPYRIGHT=Copyright 2013 HS_MAJOR_VER=23 HS_MINOR_VER=25 HS_BUILD_NUMBER=03 JDK_MAJOR_VER=1 JDK_MINOR_VER=7 JDK_MICRO_VER=0 # Previous (bootdir) JDK version JDK_PREVIOUS_VERSION=1.6.0 /myproj/7u_master >cd .. /myproj >hg clone 7u_master 7u_dev updating to branch default 33 files updated, 0 files merged, 0 files removed, 0 files unresolved /myproj >cd 7u_dev/ /myproj/7u_dev >sh get_source.sh # Repos: corba jaxp jaxws langtools jdk hotspot Starting on corba Starting on jaxp # hg clone /myproj/7u_master/corba corba updating to branch default 1337 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 # hg clone /myproj/7u_master/jaxp jaxp updating to branch default 2073 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 Starting on jaxws Starting on langtools # hg clone /myproj/7u_master/jaxws jaxws updating to branch default 2898 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 # hg clone /myproj/7u_master/langtools langtools updating to branch default 4458 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 Starting on jdk Starting on hotspot # hg clone /myproj/7u_master/hotspot hotspot updating to branch default 4239 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 # hg clone /myproj/7u_master/jdk jdk updating to branch default 20569 files updated, 0 files merged, 0 files removed, 0 files unresolved # exit code 0 # Repos: . ./corba ./hotspot ./jaxp ./jaxws ./jdk ./langtools Starting on . Starting on ./corba Starting on ./hotspot Starting on ./jaxp Starting on ./jaxws Starting on ./jdk Starting on ./langtools # cd . && hg pull -u pulling from /myproj/7u_master searching for changes no changes found # exit code 0 # cd ./corba && hg pull -u pulling from /myproj/7u_master/corba searching for changes no changes found # exit code 0 # cd ./hotspot && hg pull -u pulling from /myproj/7u_master/hotspot searching for changes no changes found # exit code 0 # cd ./jaxp && hg pull -u pulling from /myproj/7u_master/jaxp searching for changes no changes found # exit code 0 # cd ./jdk && hg pull -u pulling from /myproj/7u_master/jdk searching for changes no changes found # exit code 0 # cd ./jaxws && hg pull -u pulling from /myproj/7u_master/jaxws searching for changes no changes found # exit code 0 # cd ./langtools && hg pull -u pulling from /myproj/7u_master/langtools searching for changes no changes found # exit code 0 /myproj/7u_dev >tail -n 15 /myproj/7u_dev/hotspot/make/hotspot_version # # Don't put quotes (fail windows build). HOTSPOT_VM_COPYRIGHT=Copyright 2013 HS_MAJOR_VER=24 HS_MINOR_VER=0 HS_BUILD_NUMBER=55 JDK_MAJOR_VER=1 JDK_MINOR_VER=7 JDK_MICRO_VER=0 # Previous (bootdir) JDK version JDK_PREVIOUS_VERSION=1.6.0