Show More
@@ -1040,11 +1040,8 b' def clone(ui, source, dest=None, **opts)' | |||||
1040 | The location of the source is added to the new repository's |
|
1040 | The location of the source is added to the new repository's | |
1041 | ``.hg/hgrc`` file, as the default to be used for future pulls. |
|
1041 | ``.hg/hgrc`` file, as the default to be used for future pulls. | |
1042 |
|
1042 | |||
1043 | See :hg:`help urls` for valid source format details. |
|
|||
1044 |
|
||||
1045 | It is possible to specify an ``ssh://`` URL as the destination, but no |
|
1043 | It is possible to specify an ``ssh://`` URL as the destination, but no | |
1046 | ``.hg/hgrc`` and working directory will be created on the remote side. |
|
1044 | ``.hg/hgrc`` and working directory will be created on the remote side. | |
1047 | Please see :hg:`help urls` for important details about ``ssh://`` URLs. |
|
|||
1048 |
|
1045 | |||
1049 | To pull only a subset of changesets, specify one or more revisions |
|
1046 | To pull only a subset of changesets, specify one or more revisions | |
1050 | identifiers with -r/--rev or branches with -b/--branch. The |
|
1047 | identifiers with -r/--rev or branches with -b/--branch. The | |
@@ -1087,6 +1084,8 b' def clone(ui, source, dest=None, **opts)' | |||||
1087 | g) the tipmost head of the default branch |
|
1084 | g) the tipmost head of the default branch | |
1088 | h) tip |
|
1085 | h) tip | |
1089 |
|
1086 | |||
|
1087 | See :hg:`help urls` for details on specifying URLs. | |||
|
1088 | ||||
1090 | Returns 0 on success. |
|
1089 | Returns 0 on success. | |
1091 | """ |
|
1090 | """ | |
1092 | if opts.get('noupdate') and opts.get('updaterev'): |
|
1091 | if opts.get('noupdate') and opts.get('updaterev'): |
General Comments 0
You need to be logged in to leave comments.
Login now