Mercurial > public > mercurial-scm > hg-stable
diff relnotes/next @ 46108:aa4dbc14f735
diff: deprecate -r option
The new `--from`/`--to` options should be enough to support all the
uses cases and are easier to understand, so there is no reason that
I'm aware of to use `-r` anymore.
Differential Revision: https://phab.mercurial-scm.org/D9564
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 10 Dec 2020 14:39:22 -0800 |
parents | 4d5e2fd53707 |
children | bdc2bf68f19e |
line wrap: on
line diff
--- a/relnotes/next Thu Dec 10 12:06:55 2020 -0800 +++ b/relnotes/next Thu Dec 10 14:39:22 2020 -0800 @@ -21,7 +21,8 @@ debugstrip`. The extension remains for compatibility. * `hg diff` now supports `--from <rev>` and `--to <rev>` arguments as - clearer alternatives to `-r <revs>`. + clearer alternatives to `-r <revs>`. `-r <revs>` has been + deprecated. * The memory footprint per changeset during pull/unbundle operations has been further reduced.