diff --git a/lib/src/revset.rs b/lib/src/revset.rs index 172ec479b..7a20ac503 100644 --- a/lib/src/revset.rs +++ b/lib/src/revset.rs @@ -843,7 +843,7 @@ static BUILTIN_FUNCTION_MAP: Lazy> = 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, )); }