Function: vc-jj-log-view-abandon-change
vc-jj-log-view-abandon-change is an interactive and natively compiled
function defined in vc-jj.el.
Signature
(vc-jj-log-view-abandon-change)
Documentation
Abandon the jj revision at point.
Call "jj abandon" on the revision at point.
Key Bindings
vc-jj-log-view-mode-map x
Source Code
;; Defined in /nix/store/j1ql1qsv99iszr5pqf5fk9yfcl5pq4nv-emacs-packages-deps/share/emacs/site-lisp/elpa/vc-jj-0.5/vc-jj.el
(defun vc-jj-log-view-abandon-change ()
"Abandon the jj revision at point.
Call \"jj abandon\" on the revision at point."
(interactive nil vc-jj-log-view-mode)
(let ((rev (log-view-current-tag)))
(when (y-or-n-p (format "Abandon revision %s?"
(propertize
(vc-jj--command-parseable "show" "--no-patch"
"-r" rev
"-T" "change_id.shortest()")
'face 'log-view-message)))
(vc-jj--command-dispatched nil 0 nil "abandon" rev "--quiet")
(vc-jj--reload-log-buffers))))