path environment variables and ssh

Michael P. Soulier msoulier at digitaltorque.ca
Thu May 8 05:53:43 CDT 2008


James Walker wrote:
> Hi.  I'm new to mercurial, and I haven't been able to figure out where 
> to define environment variables such that they will be seen by an ssh 
> remote command to a server running Mac OS X 10.4.  For instance it's not 
> ~/.profile, which works if I log in interactively.  This caused a 
> mercurial command with an ssh URL to fail because it couldn't find hg on 
> the server.  I got around that problem by using my local .hgrc file to 
> set the remote command to /usr/local/bin/hg.  But now I'm wondering 
> about the PYTHONPATH.  If the server's hg were using python 2.3.5 (which 
> comes standard with Mac OS X 10.4) rather than python 2.5.1 (which I 
> installed), would there be an error message, or would it just run 
> suboptimally?

What shell are you using remotely? If it's bash then configure your
.bashrc.

Mike
-- 
Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://selenic.com/pipermail/mercurial/attachments/20080508/27a4ab6a/attachment.pgp 


More information about the Mercurial mailing list