Function: vc-hg-working-revision

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

Signature

(vc-hg-working-revision FILE)

Documentation

Hg-specific version of vc-working-revision.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
(defun vc-hg-working-revision (_file)
  "Hg-specific version of `vc-working-revision'."
  (ignore-errors
    (with-output-to-string
      (vc-hg-command standard-output 0 nil
                     "log" "-r" "." "--template" "{rev}"))))