aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-10-03 19:04:29 +0000
committerDan Nicolaescu2008-10-03 19:04:29 +0000
commita779ddf0ce751303a4f8cbcd660e9f761fadea66 (patch)
tree43487f2414d6c10e24a86644f4ae5ec985b28a2e
parent8d87199ba0bf8c314c277a3da3e227e7fcbdff32 (diff)
downloademacs-a779ddf0ce751303a4f8cbcd660e9f761fadea66.tar.gz
emacs-a779ddf0ce751303a4f8cbcd660e9f761fadea66.zip
(vc-hg-dir-status-files): New function.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc-hg.el10
2 files changed, 13 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fa3ddedffff..c4f4fdb664c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * vc-hg.el (vc-hg-dir-status-files): New function.
4
12008-10-03 Martin Rudalics <rudalics@gmx.at> 52008-10-03 Martin Rudalics <rudalics@gmx.at>
2 6
3 * window.el (window--display-buffer-1): Don't care about 7 * window.el (window--display-buffer-1): Don't care about
diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el
index 60d6fce2717..bfc4846a5d6 100644
--- a/lisp/vc-hg.el
+++ b/lisp/vc-hg.el
@@ -42,12 +42,15 @@
42;; * registered (file) OK 42;; * registered (file) OK
43;; * state (file) OK 43;; * state (file) OK
44;; - state-heuristic (file) NOT NEEDED 44;; - state-heuristic (file) NOT NEEDED
45;; - dir-status (dir update-function) OK
46;; - dir-status-files (dir files ds uf) OK
47;; - status-extra-headers (dir) OK
48;; - status-printer (fileinfo) OK
45;; * working-revision (file) OK 49;; * working-revision (file) OK
46;; - latest-on-branch-p (file) ?? 50;; - latest-on-branch-p (file) ??
47;; * checkout-model (files) OK 51;; * checkout-model (files) OK
48;; - workfile-unchanged-p (file) OK 52;; - workfile-unchanged-p (file) OK
49;; - mode-line-string (file) NOT NEEDED 53;; - mode-line-string (file) NOT NEEDED
50;; - prettify-state-info (file) OK
51;; STATE-CHANGING FUNCTIONS 54;; STATE-CHANGING FUNCTIONS
52;; * register (files &optional rev comment) OK 55;; * register (files &optional rev comment) OK
53;; * create-repo () OK 56;; * create-repo () OK
@@ -499,6 +502,11 @@ REV is the revision to check out into WORKFILE."
499 (vc-exec-after 502 (vc-exec-after
500 `(vc-hg-after-dir-status (quote ,update-function)))) 503 `(vc-hg-after-dir-status (quote ,update-function))))
501 504
505(defun vc-hg-dir-status-files (dir files default-state update-function)
506 (apply 'vc-hg-command (current-buffer) 'async dir "status" "-C" files)
507 (vc-exec-after
508 `(vc-hg-after-dir-status (quote ,update-function))))
509
502(defun vc-hg-status-extra-header (name &rest commands) 510(defun vc-hg-status-extra-header (name &rest commands)
503 (concat (propertize name 'face 'font-lock-type-face) 511 (concat (propertize name 'face 'font-lock-type-face)
504 (propertize 512 (propertize