Function: vc-hg-mergebase

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

Signature

(vc-hg-mergebase REV1 &optional REV2)

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
(defun vc-hg-mergebase (rev1 &optional rev2)
  (with-output-to-string
    (vc-hg-command standard-output 0 nil "log"
                   (format "--rev=last(ancestors(%s) and ancestors(%s))"
                           rev1 (or rev2 "."))
                   "--limit=1" "--template={node}")))