Using the OpenSolaris Mercurial repository
By Chris W Beal-Oracle on Jan 22, 2007
I finally decided to have a look at how you get OpenSolaris from the Mercurial repository I've been put off by the fact at the office we're behind a fire wall, so you have to pull it through a Socks proxy.
I turns out it's absolutely trivial to do (the instructions are all on the OpenSolaris WebSite.
If you're behind a firewall that requires you to have a proxy for ssh th first thing you need to do is set up ssh to use a proxy. I can't help you with that other than to say add the following line to your ssh config for opensolaris.org
ProxyCommand /usr/lib/ssh/ssh-socks5-proxy-connect -h [Proxy IP address] %h %p
(thanks to Erik and Stephen for pointing out the compression option)
Putting in the IP address of your socks proxy.
Now you can clone the repository
$ hg clone ssh://anon-AT-hg.opensolaris-DOT-org/hg/onnv/onnv-gate
adding file changes
added 3487 changesets with 67524 changes to 43099 files
39742 files updated, 0 files merged, 0 files removed, 0 files unresolved
It took only 37 minutes to my home machine which is much faster than a full bringover in teamware
Now to start playing with some of the build tools