Function: vc-cvs-create-tag

vc-cvs-create-tag is a byte-compiled function defined in vc-cvs.el.gz.

Signature

(vc-cvs-create-tag DIR NAME BRANCHP)

Documentation

Assign to DIR's current revision a given NAME.

If BRANCHP is non-nil, the name is created as a branch (and the current workspace is immediately moved to that new branch).

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-cvs.el.gz
;;;
;;; Tag system
;;;

(defun vc-cvs-create-tag (dir name branchp)
  "Assign to DIR's current revision a given NAME.
If BRANCHP is non-nil, the name is created as a branch (and the current
workspace is immediately moved to that new branch)."
  (vc-cvs-command nil 0 dir "tag" "-c" (if branchp "-b") name)
  (when branchp (vc-cvs-command nil 0 dir "update" "-r" name)))