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.

Probably introduced at or before Emacs version 31.1.

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"
                     (if vc-use-short-revision "{node|short}" "{node}")))))