D3825: grep: deprecates `--all` flag
sangeet259 (Sangeet Kumar Mishra)
phabricator at mercurial-scm.org
Thu Jun 28 17:53:11 UTC 2018
sangeet259 updated this revision to Diff 9339.
sangeet259 edited the summary of this revision.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3825?vs=9250&id=9339
REVISION DETAIL
https://phab.mercurial-scm.org/D3825
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
@@ -2488,8 +2488,8 @@
@command('grep',
[('0', 'print0', None, _('end fields with NUL')),
- ('', 'all', None, _('print all revisions that match')),
- ('', 'diff', None, _('print all revisions when the term was introduced '
+ ('', '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')),
('f', 'follow', None,
@@ -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.
To: sangeet259, #hg-reviewers
Cc: pulkit, yuja, mercurial-devel
More information about the Mercurial-devel
mailing list