changeset 6625:4d3a60d5c490

improve help text for clone -U
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Fri, 23 May 2008 13:59:23 +0200
parents 1916e629a29d
children 59f7b804352f 0397f592372f
files mercurial/commands.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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')),