Commit 4a16e630 authored by Juri Linkov's avatar Juri Linkov

* lisp/vc/vc-annotate.el: Better error handling (bug#34532)

* lisp/vc/vc-annotate.el (vc-annotate-revision-previous-to-line):
Print message when prev-rev is nil.
parent 5962a7c3
Pipeline #872 failed with stage
in 60 minutes and 1 second
......@@ -541,7 +541,9 @@ Return a cons (REV . FILENAME)."
(setq prev-rev
(vc-call-backend vc-annotate-backend 'previous-revision
fname rev))
(vc-annotate-warp-revision prev-rev fname)))))
(if (not prev-rev)
(message "No previous revisions")
(vc-annotate-warp-revision prev-rev fname))))))
(defvar log-view-vc-backend)
(defvar log-view-vc-fileset)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment