diff options
| author | Michael Albinus | 2009-08-25 08:53:32 +0000 |
|---|---|---|
| committer | Michael Albinus | 2009-08-25 08:53:32 +0000 |
| commit | 66f3089ca8b0d869cb8f1710e0099b8b2f62358c (patch) | |
| tree | 85f70ced1a21f147478010cf2f2aca58b243225e | |
| parent | e82b1099e15f0d3f9d107741e373365eefbdc23c (diff) | |
| download | emacs-66f3089ca8b0d869cb8f1710e0099b8b2f62358c.tar.gz emacs-66f3089ca8b0d869cb8f1710e0099b8b2f62358c.zip | |
* vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
Let-bind `process-file-side-effects' with nil.
| -rw-r--r-- | lisp/vc-cvs.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el index 9d153e5c9fc..b096f2304f1 100644 --- a/lisp/vc-cvs.el +++ b/lisp/vc-cvs.el | |||
| @@ -225,7 +225,8 @@ See also variable `vc-cvs-sticky-date-format-string'." | |||
| 225 | state)) | 225 | state)) |
| 226 | (with-temp-buffer | 226 | (with-temp-buffer |
| 227 | (cd (file-name-directory file)) | 227 | (cd (file-name-directory file)) |
| 228 | (vc-cvs-command t 0 file "status") | 228 | (let (process-file-side-effects) |
| 229 | (vc-cvs-command t 0 file "status")) | ||
| 229 | (vc-cvs-parse-status t)))) | 230 | (vc-cvs-parse-status t)))) |
| 230 | 231 | ||
| 231 | (defun vc-cvs-state-heuristic (file) | 232 | (defun vc-cvs-state-heuristic (file) |
| @@ -507,7 +508,8 @@ Will fail unless you have administrative privileges on the repo." | |||
| 507 | 508 | ||
| 508 | (defun vc-cvs-diff (files &optional oldvers newvers buffer) | 509 | (defun vc-cvs-diff (files &optional oldvers newvers buffer) |
| 509 | "Get a difference report using CVS between two revisions of FILE." | 510 | "Get a difference report using CVS between two revisions of FILE." |
| 510 | (let* ((async (and (not vc-disable-async-diff) | 511 | (let* (process-file-side-effects |
| 512 | (async (and (not vc-disable-async-diff) | ||
| 511 | (vc-stay-local-p files 'CVS))) | 513 | (vc-stay-local-p files 'CVS))) |
| 512 | (invoke-cvs-diff-list nil) | 514 | (invoke-cvs-diff-list nil) |
| 513 | status) | 515 | status) |
| @@ -1166,7 +1168,8 @@ is non-nil." | |||
| 1166 | ;; tag names. | 1168 | ;; tag names. |
| 1167 | 1169 | ||
| 1168 | (defun vc-cvs-revision-table (file) | 1170 | (defun vc-cvs-revision-table (file) |
| 1169 | (let ((default-directory (file-name-directory file)) | 1171 | (let (process-file-side-effects |
| 1172 | (default-directory (file-name-directory file)) | ||
| 1170 | (res nil)) | 1173 | (res nil)) |
| 1171 | (with-temp-buffer | 1174 | (with-temp-buffer |
| 1172 | (vc-cvs-command t nil file "log") | 1175 | (vc-cvs-command t nil file "log") |