comparison mercurial/commands.py @ 2764:71029a3247cb

clone: replace long help string of inaky with doc comment.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 01 Aug 2006 19:58:34 -0700
parents 0eb3a0d1c454
children b550cd82f92a 21e571c21a6b
comparison
equal deleted inserted replaced
2763:0eb3a0d1c454 2764:71029a3247cb
1010 1010
1011 which is the fastest way to clone. However, the operation is not 1011 which is the fastest way to clone. However, the operation is not
1012 atomic (making sure REPO is not modified during the operation is 1012 atomic (making sure REPO is not modified during the operation is
1013 up to you) and you have to make sure your editor breaks hardlinks 1013 up to you) and you have to make sure your editor breaks hardlinks
1014 (Emacs and most Linux Kernel tools do so). 1014 (Emacs and most Linux Kernel tools do so).
1015
1016 If you use the -r option to clone up to a specific revision, no
1017 subsequent revisions will be present in the cloned repository.
1018 This option implies --pull, even on local repositories.
1015 1019
1016 See pull for valid source format details. 1020 See pull for valid source format details.
1017 1021
1018 It is possible to specify an ssh:// URL as the destination, but no 1022 It is possible to specify an ssh:// URL as the destination, but no
1019 .hg/hgrc will be created on the remote side. Look at the help text 1023 .hg/hgrc will be created on the remote side. Look at the help text
2938 _('hg cat [OPTION]... FILE...')), 2942 _('hg cat [OPTION]... FILE...')),
2939 "^clone": 2943 "^clone":
2940 (clone, 2944 (clone,
2941 [('U', 'noupdate', None, _('do not update the new working directory')), 2945 [('U', 'noupdate', None, _('do not update the new working directory')),
2942 ('r', 'rev', [], 2946 ('r', 'rev', [],
2943 _('a changeset you would like to have after cloning \n' 2947 _('a changeset you would like to have after cloning')),
2944 ' '
2945 '(note this forces --pull and thus is slower)')),
2946 ('', 'pull', None, _('use pull protocol to copy metadata')), 2948 ('', 'pull', None, _('use pull protocol to copy metadata')),
2947 ('', 'uncompressed', None, 2949 ('', 'uncompressed', None,
2948 _('use uncompressed transfer (fast over LAN)')), 2950 _('use uncompressed transfer (fast over LAN)')),
2949 ('e', 'ssh', '', _('specify ssh command to use')), 2951 ('e', 'ssh', '', _('specify ssh command to use')),
2950 ('', 'remotecmd', '', 2952 ('', 'remotecmd', '',