Function: vc-jj-modify-change-comment

vc-jj-modify-change-comment is a natively compiled function defined in vc-jj.el.

Signature

(vc-jj-modify-change-comment FILES REV COMMENT)

Documentation

Set the change comment of revision REV to COMMENT.

Source Code

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

;; TODO: protect immutable changes
(defun vc-jj-modify-change-comment (_files rev comment)
  "Set the change comment of revision REV to COMMENT."
  (let ((comment (car (log-edit-extract-headers () comment))))
    (vc-jj--command-dispatched nil 0 nil "desc" rev "-m" comment "--quiet")))