Function: cvs-tags-list
cvs-tags-list is a byte-compiled function defined in pcvs.el.gz.
Signature
(cvs-tags-list)
Documentation
Return a list of acceptable tags, ready for completions.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/pcvs.el.gz
(defun cvs-tags-list ()
"Return a list of acceptable tags, ready for completions."
(cl-assert (cvs-buffer-p))
(let ((marked (cvs-get-marked)))
`(("BASE") ("HEAD")
,@(when marked
(with-temp-buffer
(process-file cvs-program
nil ;no input
t ;output to current-buffer
nil ;don't update display while running
"status"
"-v"
(cvs-fileinfo->full-name (car marked)))
(goto-char (point-min))
(let ((tags (cvs-status-get-tags)))
(when (listp tags) tags)))))))