Function: vc-find-revision

vc-find-revision is an autoloaded and byte-compiled function defined in vc.el.gz.

Signature

(vc-find-revision FILE REVISION &optional BACKEND)

Documentation

Read REVISION of FILE into a buffer and return the buffer.

Use BACKEND as the VC backend if specified.

Probably introduced at or before Emacs version 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc.el.gz
(defun vc-find-revision (file revision &optional backend)
  "Read REVISION of FILE into a buffer and return the buffer.
Use BACKEND as the VC backend if specified."
  (if vc-find-revision-no-save
      (vc-find-revision-no-save file revision backend)
    (vc-find-revision-save file revision backend)))