summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-10-06 08:59:39 +0000
committerRichard M. Stallman <rms@gnu.org>1992-10-06 08:59:39 +0000
commitd743a3c876fb12ce883fa0947b993dfdd869edb1 (patch)
tree0993b15ca7b89be935671e2fffb8fb405b909d79
parent90e2359039d97550ac72b2804580d448964b98cc (diff)
downloademacs-d743a3c876fb12ce883fa0947b993dfdd869edb1.tar.gz
(vc-backend-steal): Delete the workfile after the rcs -M -u.
-rw-r--r--lisp/vc.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index d72e2a55d24..ef22dd75d90 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -5,7 +5,7 @@
;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
;; Version: 4.0
-;; $Id: vc.el,v 1.11 1992/10/05 21:09:26 rms Exp rms $
+;; $Id: vc.el,v 1.12 1992/10/05 22:03:53 rms Exp rms $
;; This file is part of GNU Emacs.
@@ -1103,6 +1103,7 @@ Return nil if there is no such person."
)
(progn
(vc-do-command 0 "rcs" "-M" (concat "-u" rev) file)
+ (delete-file file)
(vc-do-command 0 "rcs" (concat "-l" rev) file)
)
(vc-file-setprop file 'vc-locking-user (user-login-name))