Show More
@@ -520,6 +520,9 b' def clone(ui, source, dest=None, **opts)' | |||||
520 | subsequent revisions will be present in the cloned repository. |
|
520 | subsequent revisions will be present in the cloned repository. | |
521 | This option implies --pull, even on local repositories. |
|
521 | This option implies --pull, even on local repositories. | |
522 |
|
522 | |||
|
523 | If the -U option is used, the new clone will contain only a repository | |||
|
524 | (.hg) and no working copy (the working copy parent is the null revision). | |||
|
525 | ||||
523 | See pull for valid source format details. |
|
526 | See pull for valid source format details. | |
524 |
|
527 | |||
525 | It is possible to specify an ssh:// URL as the destination, but no |
|
528 | It is possible to specify an ssh:// URL as the destination, but no | |
@@ -2955,7 +2958,8 b' table = {' | |||||
2955 | _('hg cat [OPTION]... FILE...')), |
|
2958 | _('hg cat [OPTION]... FILE...')), | |
2956 | "^clone": |
|
2959 | "^clone": | |
2957 | (clone, |
|
2960 | (clone, | |
2958 | [('U', 'noupdate', None, _('do not update the new working directory')), |
|
2961 | [('U', 'noupdate', None, | |
|
2962 | _('the clone will only contain a repository (no working copy)')), | |||
2959 | ('r', 'rev', [], |
|
2963 | ('r', 'rev', [], | |
2960 | _('a changeset you would like to have after cloning')), |
|
2964 | _('a changeset you would like to have after cloning')), | |
2961 | ('', 'pull', None, _('use pull protocol to copy metadata')), |
|
2965 | ('', 'pull', None, _('use pull protocol to copy metadata')), |
General Comments 0
You need to be logged in to leave comments.
Login now