Function: vc-hg-push

vc-hg-push is an interactive and byte-compiled function defined in vc-hg.el.gz.

Signature

(vc-hg-push PROMPT)

Documentation

Push changes from the current Mercurial branch.

Normally, this runs "hg push". If PROMPT is non-nil, prompt for the Hg command to run.

If called interactively with a set of marked Log View buffers, call "hg push -r REVS" to push the specified revisions REVS.

Probably introduced at or before Emacs version 25.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
(defun vc-hg-push (prompt)
  "Push changes from the current Mercurial branch.
Normally, this runs \"hg push\".  If PROMPT is non-nil, prompt
for the Hg command to run.

If called interactively with a set of marked Log View buffers,
call \"hg push -r REVS\" to push the specified revisions REVS."
  (interactive "P")
  (vc-hg--pushpull "push" prompt nil (called-interactively-p 'interactive)))