# HG changeset patch # User "Aurelien Jacobs " # Date 1152649189 -7200 # Node ID dc63db82b530f6c7117bb4f9cd4cae7c4f2c864e # Parent 8210cf2ec19debd36007f06de15cd90af906f9a6 disambiguate help about url syntax diff -r 8210cf2ec19d -r dc63db82b530 mercurial/commands.py --- a/mercurial/commands.py Mon Jul 10 09:36:56 2006 -0700 +++ b/mercurial/commands.py Tue Jul 11 22:19:49 2006 +0200 @@ -2228,15 +2228,15 @@ Valid URLs are of the form: local/filesystem/path - http://[user@]host[:port][/path] - https://[user@]host[:port][/path] - ssh://[user@]host[:port][/path] + http://[user@]host[:port]/[path] + https://[user@]host[:port]/[path] + ssh://[user@]host[:port]/[path] 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 two slashes at the start of a path to specify an absolute path. + - path is relative to the remote user's home directory by default. + Use a slash at the start of a path to specify an absolute path. - Mercurial doesn't use its own compression via SSH; the right thing to do is to configure it in your ~/.ssh/ssh_config, e.g.: Host *.mylocalnetwork.example.com @@ -2280,7 +2280,7 @@ Valid URLs are of the form: local/filesystem/path - ssh://[user@]host[:port][/path] + ssh://[user@]host[:port]/[path] Look at the help text for the pull command for important details about ssh:// URLs.