mercurial/commands.py
changeset 3471 be2bf7263276
parent 3467 2b3b703b3a2b
child 3472 df7202f6887c
equal deleted inserted replaced
3470:c6773b7ebee8 3471:be2bf7263276
  2101       and a copy of hg in the remote path or specified with as remotecmd.
  2101       and a copy of hg in the remote path or specified with as remotecmd.
  2102     - path is relative to the remote user's home directory by default.
  2102     - path is relative to the remote user's home directory by default.
  2103       Use an extra slash at the start of a path to specify an absolute path:
  2103       Use an extra slash at the start of a path to specify an absolute path:
  2104         ssh://example.com//tmp/repository
  2104         ssh://example.com//tmp/repository
  2105     - Mercurial doesn't use its own compression via SSH; the right thing
  2105     - Mercurial doesn't use its own compression via SSH; the right thing
  2106       to do is to configure it in your ~/.ssh/ssh_config, e.g.:
  2106       to do is to configure it in your ~/.ssh/config, e.g.:
  2107         Host *.mylocalnetwork.example.com
  2107         Host *.mylocalnetwork.example.com
  2108           Compression off
  2108           Compression no
  2109         Host *
  2109         Host *
  2110           Compression on
  2110           Compression yes
  2111       Alternatively specify "ssh -C" as your ssh command in your hgrc or
  2111       Alternatively specify "ssh -C" as your ssh command in your hgrc or
  2112       with the --ssh command line option.
  2112       with the --ssh command line option.
  2113     """
  2113     """
  2114     source = ui.expandpath(source)
  2114     source = ui.expandpath(source)
  2115     setremoteconfig(ui, opts)
  2115     setremoteconfig(ui, opts)