But SSH is giving me issues at the moment for Mercurial. There is support to use SSH for executing remote commands, but my server is complaining it can't find Hg when executing commands through Hg:
Driftys-Computer> ssh drbrett hg version
bash: hg: command not found
Now SSH is working:
Driftys-Computer>ssh drbrett ls -l
drwxr-xr-x 5 brett users 4096 2006-10-27 23:15 data
drwxr-xr-x 7 brett users 4096 2006-09-11 13:26 installed
drwxr-xr-x 7 brett users 4096 2006-10-27 23:12 src
And Hg can be found when I have a remote shell through SSH:
brett@bcannon:~$ hg version
Mercurial Distributed SCM (version 0.9.1)
But it seems that my .profile file for BASH is not being used:
brett@bcannon:~$ echo $PYTHONPATH
Connection to 22.214.171.124 closed.
Driftys-Computer>ssh drbrett echo \$PYTHONPATH
# Only a newline is printed.
Does anyone know how to make remote commands through SSH execute with the same environment you would have if you used a remote shell? I can't finish the Mercurial part of my review (and thus move on to bazaar) until I get this working since I want to be able to have a shell script that executes every step of the test commands. If you have any ideas as how to fix this please add a comment to this post.