From df4d8c147524c3cea5cf77a0b73d3f64e58aa4f9 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Tue, 2 Dec 2025 11:55:14 +0000 Subject: [PATCH] * lisp/vc/vc.el (vc-push): Delay clearing incoming revisions cache. --- lisp/vc/vc.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 8771603a4ad..15982067829 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -4277,7 +4277,8 @@ It also signals an error in a Bazaar bound branch." (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)) + (vc-run-delayed + (vc--repo-setprop 'vc-incoming-revision nil))) (user-error "VC push is unsupported for `%s'" backend)))) ;;;###autoload