D2095: clone: updates the help text for hg clone -r (issue5654) [bugzilla] and hg clone -b

sangeet259 (Sangeet Kumar Mishra) phabricator at mercurial-scm.org
Fri Feb 9 09:29:20 EST 2018


sangeet259 updated this revision to Diff 5370.
sangeet259 retitled this revision from "updates the help text for hg clone -r (issue5654) on bugzilla" to "clone: updates the help text for hg clone -r (issue5654) [bugzilla] and hg clone -b".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2095?vs=5356&id=5370

REVISION DETAIL
  https://phab.mercurial-scm.org/D2095

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1320,8 +1320,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\
+     changeset and their ancestors'), _('BRANCH')),
     ('', 'pull', None, _('use pull protocol to copy metadata')),
     ('', 'uncompressed', None,
        _('an alias to --stream (DEPRECATED)')),



To: sangeet259, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list