Mercurial > hg
diff mercurial/mpatch.c @ 43898:023ad45e2fd2
releasenotes: extract helper for checking for incompatible arguments
This patch extracts a new check_incompatible_arguments() function
similar to check_at_most_one_arg(). The difference is that the new
function is for checking for arguments that are disallowed together
with some other argument but not mutually exclusive among themselves.
Differential Revision: https://phab.mercurial-scm.org/D7639
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 12 Dec 2019 22:30:59 -0800 |
parents | 763b45bc4483 |
children | d4ba4d51f85f |