Function: vc-hg-pull
vc-hg-pull is an interactive and byte-compiled function defined in
vc-hg.el.gz.
Signature
(vc-hg-pull PROMPT)
Documentation
Issue a Mercurial pull command.
If called interactively with a set of marked Log View buffers, call "hg pull -r REVS" to pull in the specified revisions REVS.
With a prefix argument or if PROMPT is non-nil, prompt for a specific Mercurial pull command. The default is "hg pull -u", which fetches changesets from the default remote repository and then attempts to update the working directory.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
(defun vc-hg-pull (prompt)
"Issue a Mercurial pull command.
If called interactively with a set of marked Log View buffers,
call \"hg pull -r REVS\" to pull in the specified revisions REVS.
With a prefix argument or if PROMPT is non-nil, prompt for a
specific Mercurial pull command. The default is \"hg pull -u\",
which fetches changesets from the default remote repository and
then attempts to update the working directory."
(interactive "P")
(vc-hg--pushpull "pull" prompt
;; Fixme: before updating the working copy to the latest
;; state, should check if it's visiting an old revision.
;; post-processing: list modified files and update
;; NB: this will not work with "pull = --rebase"
;; or "pull = --update" in hgrc.
'(("--pager" "no" "status" "--rev" "." "--rev" "tip")
("update"))
(called-interactively-p 'interactive)))