summaryrefslogtreecommitdiff
path: root/lisp/vc-cvs.el
diff options
context:
space:
mode:
authorAndré Spiegel <spiegel@gnu.org>2005-10-30 11:08:41 +0000
committerAndré Spiegel <spiegel@gnu.org>2005-10-30 11:08:41 +0000
commitbd25cb265f4b2415237f24555fc184782ba4a750 (patch)
treef54ed914a553e206531dda8302e1af90bf66c71f /lisp/vc-cvs.el
parent5e7ae3bddff6ed908aa59c72b2593488011c8284 (diff)
downloademacs-bd25cb265f4b2415237f24555fc184782ba4a750.tar.gz
(vc-cvs-delete-file): Commit the file after removing it.
Diffstat (limited to 'lisp/vc-cvs.el')
-rw-r--r--lisp/vc-cvs.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el
index cf661f62768..51d4174b40f 100644
--- a/lisp/vc-cvs.el
+++ b/lisp/vc-cvs.el
@@ -452,7 +452,8 @@ REV is the revision to check out into WORKFILE."
(message "Checking out %s...done" filename)))))
(defun vc-cvs-delete-file (file)
- (vc-cvs-command nil 0 file "remove" "-f"))
+ (vc-cvs-command nil 0 file "remove" "-f")
+ (vc-cvs-command nil 0 file "commit" "-mRemoved."))
(defun vc-cvs-revert (file &optional contents-done)
"Revert FILE to the version it was based on."