summaryrefslogtreecommitdiff
path: root/lisp/vc.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-07-17 23:04:30 +0000
committerKarl Heuer <kwzh@gnu.org>1995-07-17 23:04:30 +0000
commita5d480dc4477f10253341bde1526cc13be8ab932 (patch)
tree2f08eef07b133fb60103b241cd1c92bf570fce81 /lisp/vc.el
parentc303984a9078c3f68511cc879f42359d37f2cf20 (diff)
downloademacs-a5d480dc4477f10253341bde1526cc13be8ab932.tar.gz
(vc-backend-merge-news): Force to refetch the
properties after the merge.
Diffstat (limited to 'lisp/vc.el')
-rw-r--r--lisp/vc.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index cc27216dd69..80318b8c93d 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -1897,7 +1897,11 @@ From a program, any arguments are passed to the `rcs2log' script."
file
(error "vc-backend-merge-news not meaningful for SCCS files") ;SCCS
(error "vc-backend-merge-news not meaningful for RCS files") ;RCS
- (vc-do-command 1 "cvs" file 'WORKFILE "update") ;CVS
+ (progn ; CVS
+ (vc-file-clear-masterprops file)
+ (vc-file-setprop file 'vc-workfile-version nil)
+ (vc-file-setprop file 'vc-locking-user nil)
+ (vc-do-command 1 "cvs" file 'WORKFILE "update"))
))
(defun vc-check-headers ()