Variable: cvs-version

cvs-version is a variable defined in pcvs-defs.el.gz.

Value

nil

Documentation

Version of cvs installed on your system.

It must be in the (MAJOR . MINOR) format.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/pcvs-defs.el.gz
(defvar cvs-version
  ;; With the divergence of the CVSNT codebase and version numbers, this is
  ;; not really good any more.
  (ignore-errors
    (with-temp-buffer
      (call-process cvs-program nil t nil "-v")
      (goto-char (point-min))
      (when (re-search-forward "(CVS\\(NT\\)?) \\([0-9]+\\)\\.\\([0-9]+\\)"
                               nil t)
	(cons (string-to-number (match-string 1))
	      (string-to-number (match-string 2))))))
  "Version of `cvs' installed on your system.
It must be in the (MAJOR . MINOR) format.")