clone: updates the help text for hg clone -{r,b} (issue5654)
authorSangeet Kumar Mishra <mail2sangeetmishra@gmail.com>
Thu, 08 Feb 2018 23:27:24 +0530
changeset 36606 4de15c54e59f
parent 36605 d549cfeb5bf7
child 36607 c6061cadb400
clone: updates the help text for hg clone -{r,b} (issue5654) Differential Revision: https://phab.mercurial-scm.org/D2095
mercurial/commands.py
--- a/mercurial/commands.py	Fri Mar 02 15:48:31 2018 -0500
+++ b/mercurial/commands.py	Thu Feb 08 23:27:24 2018 +0530
@@ -1326,8 +1326,10 @@
                                'directory (only a repository)')),
     ('u', 'updaterev', '', _('revision, tag, or branch to check out'),
         _('REV')),
-    ('r', 'rev', [], _('include the specified changeset'), _('REV')),
-    ('b', 'branch', [], _('clone only the specified branch'), _('BRANCH')),
+    ('r', 'rev', [], _('do not clone everything, but include this changeset'
+                       ' and its ancestors'), _('REV')),
+    ('b', 'branch', [], _('do not clone everything, but include this branch\'s'
+                          ' changesets and their ancestors'), _('BRANCH')),
     ('', 'pull', None, _('use pull protocol to copy metadata')),
     ('', 'uncompressed', None,
        _('an alias to --stream (DEPRECATED)')),