problem with clone over ssh
Matt Mackall
mpm at selenic.com
Thu Aug 1 00:10:31 UTC 2013
On Wed, 2013-07-31 at 19:58 -0400, Harry Putnam wrote:
> (Check for merc/.hg on remote)
> reader > ls -l /merc/.hg
Here is your error. You are assuming that ssh URLs are relative to the
remote filesystem's root. But just like http URLs are actually mapped
onto the web server's "home" directory (eg /var/www) rather than /, ssh
URLs are relative to the user's home directory.
$ hg help urls
...
Some notes about using SSH with Mercurial:
- SSH requires an accessible shell account on the destination machine and
a copy of hg in the remote path or specified with as remotecmd.
- path is relative to the remote user's home directory by default. Use an
extra slash at the start of a path to specify an absolute path:
ssh://example.com//tmp/repository
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list