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:
parent
2abad90dce
commit
30e178e7cb
1 changed files with 4 additions and 1 deletions
|
|
@ -4258,7 +4258,10 @@ It also signals an error in a Bazaar bound branch."
|
||||||
(backend (car vc-fileset)))
|
(backend (car vc-fileset)))
|
||||||
;;; (files (cadr vc-fileset)))
|
;;; (files (cadr vc-fileset)))
|
||||||
(if (vc-find-backend-function backend 'push)
|
(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))))
|
(user-error "VC push is unsupported for `%s'" backend))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue