aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-10-04 01:22:26 +0000
committerDan Nicolaescu2008-10-04 01:22:26 +0000
commit847fb889ab9d0f22b772056e02aa658427027a87 (patch)
tree18d3190bbcc97e9eb8a4c98912265d8665df7e5d
parent2da2fd38fb081840c78bd634aba8df0e4b30a779 (diff)
downloademacs-847fb889ab9d0f22b772056e02aa658427027a87.tar.gz
emacs-847fb889ab9d0f22b772056e02aa658427027a87.zip
* vc-svn.el (vc-svn-dir-status-files):
* vc-cvs.el (vc-cvs-dir-status-files): New function.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/vc-cvs.el6
-rw-r--r--lisp/vc-svn.el5
3 files changed, 16 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c4f4fdb664c..42f2354889a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-10-04 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * vc-svn.el (vc-svn-dir-status-files):
4 * vc-cvs.el (vc-cvs-dir-status-files): New function.
5
12008-10-03 Dan Nicolaescu <dann@ics.uci.edu> 62008-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * vc-hg.el (vc-hg-dir-status-files): New function. 8 * vc-hg.el (vc-hg-dir-status-files): New function.
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."
916 (vc-exec-after 916 (vc-exec-after
917 `(vc-cvs-after-dir-status (quote ,update-function)))) 917 `(vc-cvs-after-dir-status (quote ,update-function))))
918 918
919(defun vc-cvs-dir-status-files (dir files default-state update-function)
920 "Create a list of conses (file . state) for DIR."
921 (apply 'vc-cvs-command (current-buffer) 'async dir "-f" "status" files)
922 (vc-exec-after
923 `(vc-cvs-after-dir-status (quote ,update-function))))
924
919(defun vc-cvs-file-to-string (file) 925(defun vc-cvs-file-to-string (file)
920 "Read the content of FILE and return it as a string." 926 "Read the content of FILE and return it as a string."
921 (condition-case nil 927 (condition-case nil
diff --git a/lisp/vc-svn.el b/lisp/vc-svn.el
index caf5ec15dcb..06985611f47 100644
--- a/lisp/vc-svn.el
+++ b/lisp/vc-svn.el
@@ -173,6 +173,11 @@ RESULT is a list of conses (FILE . STATE) for directory DIR."
173 (vc-exec-after 173 (vc-exec-after
174 `(vc-svn-after-dir-status (quote ,callback)))) 174 `(vc-svn-after-dir-status (quote ,callback))))
175 175
176(defun vc-svn-dir-status-files (dir files default-state callback)
177 (apply 'vc-svn-command (current-buffer) 'async nil "status" files)
178 (vc-exec-after
179 `(vc-svn-after-dir-status (quote ,callback))))
180
176(defun vc-svn-status-extra-headers (dir) 181(defun vc-svn-status-extra-headers (dir)
177 "Generate extra status headers for a Subversion working copy." 182 "Generate extra status headers for a Subversion working copy."
178 (vc-svn-command "*vc*" 0 nil "info") 183 (vc-svn-command "*vc*" 0 nil "info")