fix: mark -r as advanced
See the previous patch for reasoning. I planned to even mark it
deprecated, but someone (timeless?) on the #mercurial IRC channel said
they sometimes wanted to use `-r` with its existing semantics.
Differential Revision: https://phab.mercurial-scm.org/D8288
--- a/hgext/fix.py Fri Mar 13 12:16:00 2020 -0700
+++ b/hgext/fix.py Fri Mar 13 12:16:20 2020 -0700
@@ -213,7 +213,7 @@
),
_(b'REV'),
)
-revopt = (b'r', b'rev', [], _(b'revisions to fix'), _(b'REV'))
+revopt = (b'r', b'rev', [], _(b'revisions to fix (ADVANCED)'), _(b'REV'))
sourceopt = (
b's',
b'source',
--- a/tests/test-fix.t Fri Mar 13 12:16:00 2020 -0700
+++ b/tests/test-fix.t Fri Mar 13 12:16:20 2020 -0700
@@ -107,7 +107,6 @@
--all fix all non-public non-obsolete revisions
--base REV [+] revisions to diff against (overrides automatic selection,
and applies to every revision being fixed)
- -r --rev REV [+] revisions to fix
-s --source REV [+] fix the specified revisions and their descendants
-w --working-dir fix the working directory
--whole always fix every line of a file