Function: vc-hg-annotate-command

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

Signature

(vc-hg-annotate-command FILE BUFFER &optional REVISION)

Documentation

Execute "hg annotate" on FILE, inserting the contents in BUFFER.

Optional arg REVISION is a revision to annotate from.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
(defun vc-hg-annotate-command (file buffer &optional revision)
  "Execute \"hg annotate\" on FILE, inserting the contents in BUFFER.
Optional arg REVISION is a revision to annotate from."
  (apply #'vc-hg-command buffer 'async file "annotate" "-dq"
         (if vc-hg-annotate-show-revision-numbers "-n" "-c")
	 (append (vc-switches 'hg 'annotate)
                 (if revision (list (concat "-r" revision))))))