Function: cvs-cleanup-removed

cvs-cleanup-removed is a byte-compiled function defined in pcvs.el.gz.

Signature

(cvs-cleanup-removed FI)

Documentation

Non-nil if FI has been cvs-removed but still exists.

This is intended for use on cvs-cleanup-functions when you have cvs-removed automatically generated files (which should hence not be under CVS control) but can't commit the removal because the repository's owner doesn't understand the problem.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/pcvs.el.gz
(defun cvs-cleanup-removed (fi)
  "Non-nil if FI has been cvs-removed but still exists.
This is intended for use on `cvs-cleanup-functions' when you have cvs-removed
automatically generated files (which should hence not be under CVS control)
but can't commit the removal because the repository's owner doesn't understand
the problem."
  (and (or (eq (cvs-fileinfo->type fi) 'REMOVED)
	   (and (eq (cvs-fileinfo->type fi) 'CONFLICT)
		(eq (cvs-fileinfo->subtype fi) 'REMOVED)))
       (file-exists-p (cvs-fileinfo->full-name fi))))