Function: vc-jj-create-tag

vc-jj-create-tag is a natively compiled function defined in vc-jj.el.

Signature

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

Documentation

Attach tag named NAME to the current revision.

When BRANCHP is non-nil, a bookmark named NAME is created at the current revision.

Since jujutsu does not support tagging revisions, a nil value of BRANCHP has no effect.

Source Code

;; Defined in /nix/store/j1ql1qsv99iszr5pqf5fk9yfcl5pq4nv-emacs-packages-deps/share/emacs/site-lisp/elpa/vc-jj-0.5/vc-jj.el
;;;; mergebase

;;;; last-change

;;; TAG/BRANCH SYSTEM

;;;; create-tag

(defun vc-jj-create-tag (_dir name branchp)
  "Attach tag named NAME to the current revision.
When BRANCHP is non-nil, a bookmark named NAME is created at the current
revision.

Since jujutsu does not support tagging revisions, a nil value of BRANCHP
has no effect."
  (if branchp
      (vc-jj--command-dispatched nil 0 nil "bookmark" "create" name "--quiet")
    (user-error "Setting tags is not supported by jujutsu")))