Quick updated version...
adds a symbolic name for 'onnv-gate' to allow people to just type:
hg clone onnv-gate

also added a '-q' flag to allow people to enable Mq if they want it

cheers,
steve

Stephen Lau wrote:
> I whipped up the following shell script to try and setup the hg 
> environment.  It sets http_proxy.host, ui.username, email.from, and of 
> course hgext.cdm.
> 
> High level summary:
> it checks for the presence of SWAN, if found, then:
>     sets proxy based $http_proxy, if $http_proxy isn't set then it sets 
> it to "webcache:8080"
>     does an LDAP lookup for the email address
>     sets the cadmium path to load up out of my workstation for now (will 
> eventually point to onnv-tools)
> 
> if not on SWAN:
>     sets the cadmium path to look out of the workspace where hgsetup.sh 
> is run from
> 
> does a getent passwd to get the fullname to set ui.username
> 
> 
> Comments appreciated...
> cheers,
> steve
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> scm-migration-dev mailing list
> scm-migration-dev at opensolaris.org
> http://opensolaris.org/mailman/listinfo/scm-migration-dev


-- 
stephen lau // stevel at sun.com | 650.786.0845 | http://whacked.net
opensolaris // solaris kernel development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hgsetup.sh
Type: application/x-shellscript
Size: 3696 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/scm-migration-dev/attachments/20070419/6bccf10e/attachment.bin>

Reply via email to