aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/vc.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 8fbd2bc27e9..2d879b32884 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -5,7 +5,7 @@
5;; Author: FSF (see below for full credits) 5;; Author: FSF (see below for full credits)
6;; Maintainer: Andre Spiegel <spiegel@gnu.org> 6;; Maintainer: Andre Spiegel <spiegel@gnu.org>
7 7
8;; $Id: vc.el,v 1.297 2001/02/26 13:45:06 spiegel Exp $ 8;; $Id: vc.el,v 1.298 2001/03/10 10:44:35 spiegel Exp $
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
@@ -1096,7 +1096,8 @@ If VERBOSE is non-nil, query the user rather than using default parameters."
1096 (message "%s is up-to-date" file)))) 1096 (message "%s is up-to-date" file))))
1097 1097
1098 ;; Abnormal: edited but read-only 1098 ;; Abnormal: edited but read-only
1099 ((and visited (eq state 'edited) buffer-read-only) 1099 ((and visited (eq state 'edited)
1100 buffer-read-only (not (file-writable-p file)))
1100 ;; Make the file+buffer read-write. If the user really wanted to 1101 ;; Make the file+buffer read-write. If the user really wanted to
1101 ;; commit, he'll get a chance to do that next time around, anyway. 1102 ;; commit, he'll get a chance to do that next time around, anyway.
1102 (message "File is edited but read-only; making it writable") 1103 (message "File is edited but read-only; making it writable")
@@ -2356,10 +2357,9 @@ allowed and simply skipped)."
2356 (setq update (and (eq result 'visited) update)) 2357 (setq update (and (eq result 'visited) update))
2357 (vc-file-tree-walk 2358 (vc-file-tree-walk
2358 dir 2359 dir
2359 (lambda (f) (and 2360 (lambda (f) (vc-error-occurred
2360 (vc-error-occurred 2361 (vc-call checkout f nil name)
2361 (vc-call checkout f nil name) 2362 (if update (vc-resynch-buffer f t t)))))))))
2362 (if update (vc-resynch-buffer f t t))))))))))
2363 2363
2364;; Miscellaneous other entry points 2364;; Miscellaneous other entry points
2365 2365