# HG changeset patch # User Martin von Zweigbergk # Date 1584126980 25200 # 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 -r 5205b46bd887 -r a6ef1e8e2f6d hgext/fix.py --- 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', diff -r 5205b46bd887 -r a6ef1e8e2f6d tests/test-fix.t --- 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