Function: majutsu-log-goto-child

majutsu-log-goto-child is an interactive and natively compiled function defined in majutsu-log.el.

Signature

(majutsu-log-goto-child)

Documentation

Jump to a child of the changeset at point.

When the current changeset has multiple visible children, prompt for which child to visit.

Key Bindings

majutsu-log-mode-map ]

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-log.el
(defun majutsu-log-goto-child ()
  "Jump to a child of the changeset at point.

When the current changeset has multiple visible children, prompt for which
child to visit."
  (interactive)
  (majutsu--assert-mode 'majutsu-log-mode)
  (let* ((entry-id (majutsu-log--current-entry-id))
         (entry (or (majutsu-log--entry-for-id entry-id)
                    (user-error "Changeset %s is not available in the current log" entry-id))))
    (majutsu-log--goto-related
     (majutsu-log--visible-child-ids entry)
     "Go to child: "
     "No child revisions visible in the current log")))