summaryrefslogtreecommitdiff
path: root/lisp/vc-cvs.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-10-04 01:22:26 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-10-04 01:22:26 +0000
commit847fb889ab9d0f22b772056e02aa658427027a87 (patch)
tree18d3190bbcc97e9eb8a4c98912265d8665df7e5d /lisp/vc-cvs.el
parent2da2fd38fb081840c78bd634aba8df0e4b30a779 (diff)
downloademacs-847fb889ab9d0f22b772056e02aa658427027a87.tar.gz
* vc-svn.el (vc-svn-dir-status-files):
* vc-cvs.el (vc-cvs-dir-status-files): New function.
Diffstat (limited to 'lisp/vc-cvs.el')
-rw-r--r--lisp/vc-cvs.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el
index 23dc61b01de..5d2b56012e1 100644
--- a/lisp/vc-cvs.el
+++ b/lisp/vc-cvs.el
@@ -916,6 +916,12 @@ state."
(vc-exec-after
`(vc-cvs-after-dir-status (quote ,update-function))))
+(defun vc-cvs-dir-status-files (dir files default-state update-function)
+ "Create a list of conses (file . state) for DIR."
+ (apply 'vc-cvs-command (current-buffer) 'async dir "-f" "status" files)
+ (vc-exec-after
+ `(vc-cvs-after-dir-status (quote ,update-function))))
+
(defun vc-cvs-file-to-string (file)
"Read the content of FILE and return it as a string."
(condition-case nil