Mercurial > public > mercurial-scm > hg
diff relnotes/next @ 44194:d4c1501225c4
cmdutil: change check_incompatible_arguments() *arg to single iterable
This makes it clearer on the call-sites that the first argument is
special. Thanks to Yuya for the suggestion.
Differential Revision: https://phab.mercurial-scm.org/D8018
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 27 Jan 2020 09:14:19 -0800 |
parents | bd4f666b55a7 |
children | 9f8eddd2723f |
line wrap: on
line diff
--- a/relnotes/next Mon Jan 27 12:38:59 2020 -0800 +++ b/relnotes/next Mon Jan 27 09:14:19 2020 -0800 @@ -17,3 +17,6 @@ * `hg.merge()` has lost its `abort` argument. Please call `hg.abortmerge()` directly instead. + + * The `*others` argument of `cmdutil.check_incompatible_arguments()` + changed from being varargs argument to being a single collection.