Function: vc-hg-topic-outgoing-base
vc-hg-topic-outgoing-base is a byte-compiled function defined in
vc-hg.el.gz.
Signature
(vc-hg-topic-outgoing-base)
Documentation
Return outgoing base for current commit considered as a topic branch.
The current implementation always returns the name of the current
branch, meaning to query the remote head for the current branch
(and not any active bookmark if it also exists remotely).
This is based on the following assumptions:
(i) if there is an active bookmark, it will eventually be merged into
whatever the remote head is
(ii) there is only one remote head for the current branch.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
(defun vc-hg-topic-outgoing-base ()
"Return outgoing base for current commit considered as a topic branch.
The current implementation always returns the name of the current
branch, meaning to query the remote head for the current branch
(and not any active bookmark if it also exists remotely).
This is based on the following assumptions:
(i) if there is an active bookmark, it will eventually be merged into
whatever the remote head is
(ii) there is only one remote head for the current branch."
(cdr (assq 'branch (vc-hg--working-branch))))