summaryrefslogtreecommitdiff
path: root/lisp/vc-mcvs.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>2008-05-07 21:27:41 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>2008-05-07 21:27:41 +0000
commit4903369afeabaf913164f07fccd285e8284627ff (patch)
tree493ff84060d00c69c71c88fe713f191f52a24792 /lisp/vc-mcvs.el
parent9ba4a350430255da3e7465325b66ee99e5fdae7e (diff)
downloademacs-4903369afeabaf913164f07fccd285e8284627ff.tar.gz
Remove VC-Dired and backend dir-state methods.
Diffstat (limited to 'lisp/vc-mcvs.el')
-rw-r--r--lisp/vc-mcvs.el20
1 files changed, 0 insertions, 20 deletions
diff --git a/lisp/vc-mcvs.el b/lisp/vc-mcvs.el
index ec40c9ca2a1..2a8ea2cfb85 100644
--- a/lisp/vc-mcvs.el
+++ b/lisp/vc-mcvs.el
@@ -175,26 +175,6 @@ This is only meaningful if you don't use the implicit checkout model
(defalias 'vc-mcvs-state-heuristic 'vc-cvs-state-heuristic)
-(defun vc-mcvs-dir-state (dir)
- "Find the Meta-CVS state of all files in DIR and subdirectories."
- ;; if DIR is not under Meta-CVS control, don't do anything.
- (when (file-readable-p (expand-file-name "MCVS/CVS/Entries" dir))
- (if (vc-stay-local-p dir)
- (vc-mcvs-dir-state-heuristic dir)
- (let ((default-directory dir))
- ;; Don't specify DIR in this command, the default-directory is
- ;; enough. Otherwise it might fail with remote repositories.
- (with-temp-buffer
- (buffer-disable-undo) ;; Because these buffers can get huge
- (setq default-directory (vc-mcvs-root dir))
- (vc-mcvs-command t 0 nil "status")
- (goto-char (point-min))
- (while (re-search-forward "^=+\n\\([^=\n].*\n\\|\n\\)+" nil t)
- (narrow-to-region (match-beginning 0) (match-end 0))
- (vc-cvs-parse-status)
- (goto-char (point-max))
- (widen)))))))
-
(defun vc-mcvs-working-revision (file)
(vc-cvs-working-revision
(expand-file-name (vc-file-getprop file 'mcvs-inode)