# HG changeset patch # User Martin von Zweigbergk # Date 2020-03-13 19:16:20 # Node ID a6ef1e8e2f6dedd3ec5ccbd151c0f09abeb34e54 # Parent 5205b46bd887f011e5732c04b644e102fca07897 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 diff --git a/hgext/fix.py b/hgext/fix.py --- a/hgext/fix.py +++ b/hgext/fix.py @@ -213,7 +213,7 @@ baseopt = ( ), _(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', diff --git a/tests/test-fix.t b/tests/test-fix.t --- a/tests/test-fix.t +++ b/tests/test-fix.t @@ -107,7 +107,6 @@ Help text for fix. --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