1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

* lisp/vc/vc.el (vc-push): Clear cached incoming revision.

This commit is contained in:
Sean Whitton 2025-11-30 18:31:37 +00:00
parent 2abad90dce
commit 30e178e7cb

View file

@ -4258,7 +4258,10 @@ It also signals an error in a Bazaar bound branch."
(backend (car vc-fileset)))
;;; (files (cadr vc-fileset)))
(if (vc-find-backend-function backend 'push)
(vc-call-backend backend 'push arg)
(progn (vc-call-backend backend 'push arg)
;; FIXME: Ideally we would only clear out the
;; REMOTE-LOCATION to which we are pushing.
(vc--repo-setprop 'vc-incoming-revision nil))
(user-error "VC push is unsupported for `%s'" backend))))
;;;###autoload