X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/b95ced6beee4bf2afccfc5aa0670d110d6afdfa6..e0607aaa2c6b33104fed475eb15452b2cdb6df03:/lisp/vc-mcvs.el diff --git a/lisp/vc-mcvs.el b/lisp/vc-mcvs.el index 6be69e47bd..df8a4ebad0 100644 --- a/lisp/vc-mcvs.el +++ b/lisp/vc-mcvs.el @@ -367,7 +367,7 @@ This is only possible if Meta-CVS is responsible for FILE's directory.") (defun vc-mcvs-revert (file &optional contents-done) "Revert FILE to the working revision it was based on." (vc-default-revert 'MCVS file contents-done) - (unless (eq (vc-checkout-model file) 'implicit) + (unless (eq (vc-mcvs-checkout-model file) 'implicit) (if vc-mcvs-use-edit (vc-mcvs-command nil 0 file "unedit") ;; Make the file read-only by switching off all w-bits