Function: vc-delete-revision
vc-delete-revision is an autoloaded, interactive and byte-compiled
function defined in vc.el.gz.
Signature
(vc-delete-revision REV &optional BACKEND)
Documentation
Delete revision REV from the revision history.
This works only if REV has not been pushed, unless you have customized
vc-allow-rewriting-published-history to a non-nil value.
This is the same as vc-revert-or-delete-revision invoked interactively
with a prefix argument.
Probably introduced at or before Emacs version 31.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
;;;###autoload
(defun vc-delete-revision (rev &optional backend)
"Delete revision REV from the revision history.
This works only if REV has not been pushed, unless you have customized
`vc-allow-rewriting-published-history' to a non-nil value.
This is the same as `vc-revert-or-delete-revision' invoked interactively
with a prefix argument."
(interactive (list (vc-read-revision "Revision to delete: ")))
(vc--pick-or-revert rev t nil t nil nil backend))