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): Delay clearing incoming revisions cache.

This commit is contained in:
Sean Whitton 2025-12-02 11:55:14 +00:00
parent 7780ac923c
commit df4d8c1475

View file

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