ok/jj
1
0
Fork 0
forked from mirrors/jj

revset: fix copy-paste error in conflict() deprecation message

This commit is contained in:
Yuya Nishihara 2024-09-25 15:48:47 +09:00
parent d1ced44f24
commit 6cc76ba543

View file

@ -843,7 +843,7 @@ static BUILTIN_FUNCTION_MAP: Lazy<HashMap<&'static str, RevsetFunction>> = Lazy:
// TODO: Remove in jj 0.28+
if function.name != "conflicts" {
diagnostics.add_warning(RevsetParseError::expression(
"file() is deprecated; use files() instead",
"conflict() is deprecated; use conflicts() instead",
function.name_span,
));
}