Function: vc-hg-revision-published-p

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

Signature

(vc-hg-revision-published-p REV)

Documentation

Whether REV has been pushed such that it is public history.

Always has to fetch, like vc-hg-incoming-revision does.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
(defun vc-hg-revision-published-p (rev)
  "Whether REV has been pushed such that it is public history.
Always has to fetch, like `vc-hg-incoming-revision' does."
  (with-temp-buffer
    (vc-hg-command t 0 nil "log" (format "--rev=outgoing() and %s" rev))
    (bobp)))