Function: vc-hg-revert

vc-hg-revert is a byte-compiled function defined in vc-hg.el.gz.

Signature

(vc-hg-revert FILE &optional CONTENTS-DONE)

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
;; Modeled after the similar function in vc-bzr.el
(defun vc-hg-revert (file &optional contents-done)
  (unless contents-done
    (with-temp-buffer
      (apply #'vc-hg-command t 0 file "revert"
             (append (vc-switches 'hg 'revert))))))