Show More
@@ -1046,17 +1046,13 b' def clone(ui, source, dest=None, **opts)' | |||||
1046 | ``.hg/hgrc`` and working directory will be created on the remote side. |
|
1046 | ``.hg/hgrc`` and working directory will be created on the remote side. | |
1047 | Please see :hg:`help urls` for important details about ``ssh://`` URLs. |
|
1047 | Please see :hg:`help urls` for important details about ``ssh://`` URLs. | |
1048 |
|
1048 | |||
1049 | A set of changesets (tags, or branch names) to pull may be specified |
|
1049 | To pull only a subset of changesets, specify one or more revisions | |
1050 | by listing each changeset (tag, or branch name) with -r/--rev. |
|
1050 | identifiers with -r/--rev or branches with -b/--branch. The | |
1051 | If -r/--rev is used, the cloned repository will contain only a subset |
|
1051 | resulting clone will contain only the specified changesets and | |
1052 | of the changesets of the source repository. Only the set of changesets |
|
1052 | their ancestors. These options (or 'clone src#rev dest') imply | |
1053 | defined by all -r/--rev options (including all their ancestors) |
|
1053 | --pull, even for local source repositories. Note that specifying a | |
1054 | will be pulled into the destination repository. |
|
1054 | tag will include the tagged changeset but not the changeset | |
1055 | No subsequent changesets (including subsequent tags) will be present |
|
1055 | containing the tag. | |
1056 | in the destination. |
|
|||
1057 |
|
||||
1058 | Using -r/--rev (or 'clone src#rev dest') implies --pull, even for |
|
|||
1059 | local source repositories. |
|
|||
1060 |
|
1056 | |||
1061 | For efficiency, hardlinks are used for cloning whenever the source |
|
1057 | For efficiency, hardlinks are used for cloning whenever the source | |
1062 | and destination are on the same filesystem (note this applies only |
|
1058 | and destination are on the same filesystem (note this applies only |
General Comments 0
You need to be logged in to leave comments.
Login now