comparison mercurial/commands.py @ 2589:dc63db82b530

disambiguate help about url syntax
author "Aurelien Jacobs <aurel@gnuage.org>"
date Tue, 11 Jul 2006 22:19:49 +0200
parents a20a1bb0c396
children 911b56853fdd
comparison
equal deleted inserted replaced
2588:8210cf2ec19d 2589:dc63db82b530
2226 does not update the copy of the project in the working directory. 2226 does not update the copy of the project in the working directory.
2227 2227
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][/path] 2231 http://[user@]host[:port]/[path]
2232 https://[user@]host[:port][/path] 2232 https://[user@]host[:port]/[path]
2233 ssh://[user@]host[:port][/path] 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 - /path is relative to the remote user's home directory by default. 2238 - path is relative to the remote user's home directory by default.
2239 Use two slashes at the start of a path to specify an absolute path. 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
2243 Compression off 2243 Compression off
2244 Host * 2244 Host *
2278 the client has forgotten to sync and merge before pushing. 2278 the client has forgotten to sync and merge before pushing.
2279 2279
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][/path] 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.
2287 """ 2287 """
2288 dest = ui.expandpath(dest or 'default-push', dest or 'default') 2288 dest = ui.expandpath(dest or 'default-push', dest or 'default')