improve help text for clone -U
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Fri, 23 May 2008 13:59:23 +0200
changeset 6625 4d3a60d5c490
parent 6624 1916e629a29d
child 6626 59f7b804352f
child 6636 0397f592372f
improve help text for clone -U
mercurial/commands.py
--- a/mercurial/commands.py	Thu May 22 15:48:44 2008 -0500
+++ b/mercurial/commands.py	Fri May 23 13:59:23 2008 +0200
@@ -520,6 +520,9 @@
     subsequent revisions will be present in the cloned repository.
     This option implies --pull, even on local repositories.
 
+    If the -U option is used, the new clone will contain only a repository
+    (.hg) and no working copy (the working copy parent is the null revision).
+
     See pull for valid source format details.
 
     It is possible to specify an ssh:// URL as the destination, but no
@@ -2955,7 +2958,8 @@
          _('hg cat [OPTION]... FILE...')),
     "^clone":
         (clone,
-         [('U', 'noupdate', None, _('do not update the new working directory')),
+         [('U', 'noupdate', None,
+          _('the clone will only contain a repository (no working copy)')),
           ('r', 'rev', [],
            _('a changeset you would like to have after cloning')),
           ('', 'pull', None, _('use pull protocol to copy metadata')),