Show More
@@ -2228,15 +2228,15 b' def pull(ui, repo, source="default", **o' | |||||
2228 | Valid URLs are of the form: |
|
2228 | Valid URLs are of the form: | |
2229 |
|
2229 | |||
2230 | local/filesystem/path |
|
2230 | local/filesystem/path | |
2231 |
http://[user@]host[:port] |
|
2231 | http://[user@]host[:port]/[path] | |
2232 |
https://[user@]host[:port] |
|
2232 | https://[user@]host[:port]/[path] | |
2233 |
ssh://[user@]host[:port] |
|
2233 | ssh://[user@]host[:port]/[path] | |
2234 |
|
2234 | |||
2235 | Some notes about using SSH with Mercurial: |
|
2235 | Some notes about using SSH with Mercurial: | |
2236 | - SSH requires an accessible shell account on the destination machine |
|
2236 | - SSH requires an accessible shell account on the destination machine | |
2237 | and a copy of hg in the remote path or specified with as remotecmd. |
|
2237 | and a copy of hg in the remote path or specified with as remotecmd. | |
2238 |
- |
|
2238 | - path is relative to the remote user's home directory by default. | |
2239 |
Use |
|
2239 | Use a slash at the start of a path to specify an absolute path. | |
2240 | - Mercurial doesn't use its own compression via SSH; the right thing |
|
2240 | - Mercurial doesn't use its own compression via SSH; the right thing | |
2241 | to do is to configure it in your ~/.ssh/ssh_config, e.g.: |
|
2241 | to do is to configure it in your ~/.ssh/ssh_config, e.g.: | |
2242 | Host *.mylocalnetwork.example.com |
|
2242 | Host *.mylocalnetwork.example.com | |
@@ -2280,7 +2280,7 b' def push(ui, repo, dest=None, **opts):' | |||||
2280 | Valid URLs are of the form: |
|
2280 | Valid URLs are of the form: | |
2281 |
|
2281 | |||
2282 | local/filesystem/path |
|
2282 | local/filesystem/path | |
2283 |
ssh://[user@]host[:port] |
|
2283 | ssh://[user@]host[:port]/[path] | |
2284 |
|
2284 | |||
2285 | Look at the help text for the pull command for important details |
|
2285 | Look at the help text for the pull command for important details | |
2286 | about ssh:// URLs. |
|
2286 | about ssh:// URLs. |
General Comments 0
You need to be logged in to leave comments.
Login now