get_source/hgforest.sh breaks "defpath -dgu"

David Holmes david.holmes at oracle.com
Thu Jun 21 00:49:33 UTC 2012


I just cloned the complete TL JDK8 forest by cloning the top repo then 
using get_source.sh to clone the other repos (open and closed).

At the top-level hgdefpath shows

/export/users/dh198349/jdk8 > hg defpath
      default = http://hg.openjdk.java.net/jdk8/tl/
default-push = None

I then went into the jdk repo to run "hg defpath -dgu dholmes" and got:

abort: http://hg.openjdk.java.net/jdk8/tl//jdk: Repository not found
No hgrc files updated

Note the // prior to jdk. If I edit .hgrc/hgrc to change that to a / the 
defpath works.

Note that clones/pulls etc don't care about the // but the "defpath -dg" 
does.

All of the clones initiated via hgforest.sh have the // eg:

# Repos:  corba jaxp jaxws langtools jdk hotspot  jdk/src/closed 
jdk/make/closed jdk/test/closed hotspot/src/closed hotspot/test/closed 
deploy install sponsors pubs
Starting on corba
Starting on jaxp
Starting on jaxws
Starting on langtools
# hg clone http://hg.openjdk.java.net/jdk8/tl//corba corba

David




More information about the build-dev mailing list