mercurial/commands.py
changeset 7979 6b04f12d2831
parent 7977 1cd3775e097c
child 7980 3d8252430e17
equal deleted inserted replaced
7978:aa512a03f6d3 7979:6b04f12d2831
   575 
   575 
   576     See 'hg help urls' for valid source format details.
   576     See 'hg help urls' for valid source format details.
   577 
   577 
   578     It is possible to specify an ssh:// URL as the destination, but no
   578     It is possible to specify an ssh:// URL as the destination, but no
   579     .hg/hgrc and working directory will be created on the remote side.
   579     .hg/hgrc and working directory will be created on the remote side.
   580     Look at the help text for urls for important details about ssh:// URLs.
   580     Look at the help text for URLs for important details about ssh:// URLs.
   581 
   581 
   582     For efficiency, hardlinks are used for cloning whenever the source
   582     For efficiency, hardlinks are used for cloning whenever the source
   583     and destination are on the same filesystem (note this applies only
   583     and destination are on the same filesystem (note this applies only
   584     to the repository data, not to the checked out files). Some
   584     to the repository data, not to the checked out files). Some
   585     filesystems, such as AFS, implement hardlinking incorrectly, but
   585     filesystems, such as AFS, implement hardlinking incorrectly, but
  2201     the client has forgotten to pull and merge before pushing.
  2201     the client has forgotten to pull and merge before pushing.
  2202 
  2202 
  2203     If -r is used, the named changeset and all its ancestors will be pushed
  2203     If -r is used, the named changeset and all its ancestors will be pushed
  2204     to the remote repository.
  2204     to the remote repository.
  2205 
  2205 
  2206     Look at the help text for urls for important details about ssh:// URLs.
  2206     Look at the help text for URLs for important details about ssh:// URLs.
  2207     If DESTINATION is omitted, a default path will be used.
  2207     If DESTINATION is omitted, a default path will be used.
  2208     See 'hg help urls' for more information.
  2208     See 'hg help urls' for more information.
  2209     """
  2209     """
  2210     dest, revs, checkout = hg.parseurl(
  2210     dest, revs, checkout = hg.parseurl(
  2211         ui.expandpath(dest or 'default-push', dest or 'default'), opts.get('rev'))
  2211         ui.expandpath(dest or 'default-push', dest or 'default'), opts.get('rev'))