forked from mirrors/jj
revset: fix copy-paste error in conflict() deprecation message
This commit is contained in:
parent
d1ced44f24
commit
6cc76ba543
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ static BUILTIN_FUNCTION_MAP: Lazy<HashMap<&'static str, RevsetFunction>> = Lazy:
|
||||||
// TODO: Remove in jj 0.28+
|
// TODO: Remove in jj 0.28+
|
||||||
if function.name != "conflicts" {
|
if function.name != "conflicts" {
|
||||||
diagnostics.add_warning(RevsetParseError::expression(
|
diagnostics.add_warning(RevsetParseError::expression(
|
||||||
"file() is deprecated; use files() instead",
|
"conflict() is deprecated; use conflicts() instead",
|
||||||
function.name_span,
|
function.name_span,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue