vc-next-action: Call vc-delete-file on FILESET-ONLY-FILES

* lisp/vc/vc.el (vc-next-action): Call vc-delete-file on
FILESET-ONLY-FILES, not FILES (bug#80998).
This commit is contained in:
Sean Whitton 2026-05-13 13:15:23 +01:00
parent 13039e3442
commit 9bc04b001a

View file

@ -1719,7 +1719,7 @@ from which to check out the file(s)."
(t
(vc-register vc-fileset))))
((eq state 'missing)
(vc-delete-file files))
(vc-delete-file fileset-only-files))
;; Files are up-to-date, or need a merge and user specified a revision
((or (eq state 'up-to-date) (and verbose (eq state 'needs-update)))
(cond