changeset 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 0327bd1c831c
files mercurial/commands.py
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Aug 01 11:12:34 2006 -0700
+++ b/mercurial/commands.py	Tue Aug 01 19:58:34 2006 -0700
@@ -1013,6 +1013,10 @@
     up to you) and you have to make sure your editor breaks hardlinks
     (Emacs and most Linux Kernel tools do so).
 
+    If you use the -r option to clone up to a specific revision, no
+    subsequent revisions will be present in the cloned repository.
+    This option implies --pull, even on local repositories.
+
     See pull for valid source format details.
 
     It is possible to specify an ssh:// URL as the destination, but no
@@ -2940,9 +2944,7 @@
         (clone,
          [('U', 'noupdate', None, _('do not update the new working directory')),
           ('r', 'rev', [],
-           _('a changeset you would like to have after cloning \n'
-             '                    '
-             '(note this forces --pull and thus is slower)')),
+           _('a changeset you would like to have after cloning')),
           ('', 'pull', None, _('use pull protocol to copy metadata')),
           ('', 'uncompressed', None,
            _('use uncompressed transfer (fast over LAN)')),