Function: majutsu--bookmark-move
majutsu--bookmark-move is a natively compiled function defined in
majutsu-bookmark.el.
Signature
(majutsu--bookmark-move NAMES COMMIT &optional ALLOW-BACKWARDS)
Documentation
Internal helper to move bookmark(s) NAMES to COMMIT.
When ALLOW-BACKWARDS is non-nil, include --allow-backwards.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-bookmark.el
(defun majutsu--bookmark-move (names commit &optional allow-backwards)
"Internal helper to move bookmark(s) NAMES to COMMIT.
When ALLOW-BACKWARDS is non-nil, include `--allow-backwards'."
(when names
(when (zerop (majutsu-run-jj "bookmark" "move" (and allow-backwards '("--allow-backwards")) "-t" commit names))
(message (if allow-backwards
"Moved bookmark(s) (allow backwards) to %s: %s"
"Moved bookmark(s) to %s: %s")
commit (string-join names ", ")))))