Function: log-view-uncommit-revisions-from-end
log-view-uncommit-revisions-from-end is an interactive and
byte-compiled function defined in log-view.el.gz.
Signature
(log-view-uncommit-revisions-from-end)
Documentation
Uncommit revisions newer than the revision at point.
The revision at point must be on the current branch. The newer revisions are deleted from the revision history but the changes made by those revisions to files in the working tree are not undone.
To delete revisions from the revision history and also undo the changes
in the working tree, see log-edit-delete-revisions-from-end.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/log-view.el.gz
(defun log-view-uncommit-revisions-from-end ()
"Uncommit revisions newer than the revision at point.
The revision at point must be on the current branch. The newer
revisions are deleted from the revision history but the changes made by
those revisions to files in the working tree are not undone.
To delete revisions from the revision history and also undo the changes
in the working tree, see `log-edit-delete-revisions-from-end'."
(interactive)
(vc--remove-revisions-from-end (log-view-current-tag)
nil t log-view-vc-backend)
(revert-buffer))