]> git.eshelyaron.com Git - emacs.git/commit
VC: Allow `vc-default-revert' (and CVS) to revert a missing file
authorOlivier Certner <olce.emacs@certner.fr>
Thu, 6 Apr 2023 09:25:33 +0000 (11:25 +0200)
committerDmitry Gutov <dmitry@gutov.dev>
Wed, 19 Apr 2023 00:47:20 +0000 (03:47 +0300)
commit9a2c723f1bc592fdd28763c8ec67129c5c5d91f1
tree0fa1c9fc76be4c338c501c03eb2aa40db120809d
parent648f58294bbbcd2b439019e93c1dccac5d9cac9d
VC: Allow `vc-default-revert' (and CVS) to revert a missing file

* lisp/vc/vc.el (vc-default-revert): Fix reverting a missing file case
by not trying to create a backup through `copy-file'.  Notably impacts
CVS, where `vc-cvs-revert' calls `vc-default-revert'.
lisp/vc/vc.el