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

login
register
mail settings
Submitter phabricator
Date March 2, 2018, 11:49 p.m.
Message ID <d3cd56ff56548584b4464804f2d2c582@localhost.localdomain>
Download mbox | patch
Permalink /patch/28742/
State Not Applicable
Headers show

Comments

phabricator - March 2, 2018, 11:49 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4de15c54e59f: clone: updates the help text for hg clone -{r,b} (issue5654) (authored by sangeet259, committed by ).

CHANGED PRIOR TO COMMIT
  https://phab.mercurial-scm.org/D2095?vs=5371&id=6401#toc

REPOSITORY
  rHG Mercurial

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

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

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




To: sangeet259, #hg-reviewers, durin42
Cc: pulkit, durin42, joerg.sonnenberger, dlax, mercurial-devel

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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)')),