Mercurial: I get an error while cloning a remote repository via ssh?

Log on to the server and run command -v hg The response is the full path to hg that would be run given your current environment. Now that you know the full path, you can easily use the remotecmd option in your ~/. Hgrc What is an "appropriate PATH" to use on the server?

The most basic PATH that a user should have is usr/bin:/bin (although usr/local/bin:/usr/bin:/bin is also common). The appropriate PATH for your situation is whatever your current $PATH is plus the directory that contains the hg binary, as determined above usr/bin:/bin:/path/to/hg/dir.

Log on to the server and run command -v hg. The response is the full path to hg that would be run given your current environment. Now that you know the full path, you can easily use the remotecmd option in your ~/.hgrc.

What is an "appropriate PATH" to use on the server? The most basic PATH that a user should have is /usr/bin:/bin (although /usr/local/bin:/usr/bin:/bin is also common). The appropriate PATH for your situation is whatever your current $PATH is plus the directory that contains the hg binary, as determined above -- /usr/bin:/bin:/path/to/hg/dir.

1 Logging on to the remote server gives you an interactive shell whereas mercurial is getting a non-interactive shell, and they hit different configuration files (.bashrc vs. . Bash_profile), Starting with the (non-interactive) command: 'ssh user@remote echo '$PATH' is worth doing too. – Ry4an Nov 2 '09 at 20:15 I did both things as described, and still had difficulty, so I ended up just using FTP.

I don't know if the problem was on my end, in the Mercurial FAQ or in your answer. Since your answer has some useful things in it that did work, I'm going to accept it, despite not solving my problem. – JayWilmont Nov 15 '09 at 19:23.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions