Function: cvs-update
cvs-update is an autoloaded, interactive and byte-compiled function
defined in pcvs.el.gz.
Signature
(cvs-update DIRECTORY FLAGS)
Documentation
Run a cvs update in the current working DIRECTORY.
Feed the output to a *cvs* buffer and run cvs-mode on it.
With a C-u (universal-argument) prefix argument, prompt for a directory to use.
A prefix arg >8 (ex: C-u (universal-argument) C-u (universal-argument)),
prevents reuse of an existing *cvs* buffer.
The prefix is also passed to cvs-flags-query to select the FLAGS
passed to cvs.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/vc/pcvs.el.gz
;;;###autoload
(defun cvs-update (directory flags)
"Run a `cvs update' in the current working DIRECTORY.
Feed the output to a *cvs* buffer and run `cvs-mode' on it.
With a \\[universal-argument] prefix argument, prompt for a directory to use.
A prefix arg >8 (ex: \\[universal-argument] \\[universal-argument]),
prevents reuse of an existing *cvs* buffer.
The prefix is also passed to `cvs-flags-query' to select the FLAGS
passed to cvs."
(interactive (list (cvs-query-directory "CVS Update (directory): ")
(cvs-flags-query 'cvs-update-flags "cvs update flags")))
(when (eq flags t)
(setf flags (cvs-flags-query 'cvs-update-flags nil 'noquery)))
(cvs-cmd-do "update" directory flags nil
(> (prefix-numeric-value current-prefix-arg) 8)))