Patchwork D3825: grep: deprecates `--all` flag

login
register
mail settings
Submitter phabricator
Date June 28, 2018, 5:56 p.m.
Message ID <3f7314f26d7dfa2f9faa358ad4ec621e@localhost.localdomain>
Download mbox | patch
Permalink /patch/32487/
State Not Applicable
Headers show

Comments

phabricator - June 28, 2018, 5:56 p.m.
sangeet259 updated this revision to Diff 9340.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3825?vs=9339&id=9340

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

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




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

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2488,7 +2488,7 @@ 
 
 @command('grep',
     [('0', 'print0', None, _('end fields with NUL')),
-    ('', 'all', None, _('print all revisions that match')),
+    ('', 'all', None, _('print all revisions that match (DEPRECATED) ')),
     ('', 'diff', None, _('print all revisions when the term was introduced '
                          'or removed')),
     ('a', 'text', None, _('treat all files as text')),
@@ -2519,7 +2519,7 @@ 
     file in which it finds a match. To get it to print every revision
     that contains a change in match status ("-" for a match that becomes
     a non-match, or "+" for a non-match that becomes a match), use the
-    --diff/--all flag.
+    --diff flag.
 
     PATTERN can be any Python (roughly Perl-compatible) regular
     expression.