diff options
| author | Stefan Monnier | 2008-04-11 15:59:22 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-04-11 15:59:22 +0000 |
| commit | b2ee56c9980f73cd90b931c09c1b4894bb8e3164 (patch) | |
| tree | d7ede6eee0b8b8c1e00bce3a80d58dc68c5e8433 | |
| parent | 492d9fd6bce2eba9138d00b8e1e2618ed6f6ea64 (diff) | |
| download | emacs-b2ee56c9980f73cd90b931c09c1b4894bb8e3164.tar.gz emacs-b2ee56c9980f73cd90b931c09c1b4894bb8e3164.zip | |
(vc-svn-after-dir-status): Complete last change.
| -rw-r--r-- | lisp/vc-svn.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/vc-svn.el b/lisp/vc-svn.el index e9b17d3ea57..5aa1cf7f143 100644 --- a/lisp/vc-svn.el +++ b/lisp/vc-svn.el | |||
| @@ -160,14 +160,14 @@ If you want to force an empty list of arguments, use t." | |||
| 160 | 160 | ||
| 161 | (defun vc-svn-after-dir-status (callback) | 161 | (defun vc-svn-after-dir-status (callback) |
| 162 | (let ((state-map '((?A . added) | 162 | (let ((state-map '((?A . added) |
| 163 | (?C . conflict) | 163 | (?C . conflict) |
| 164 | (?D . removed) | 164 | (?D . removed) |
| 165 | (?I . ignored) | 165 | (?I . ignored) |
| 166 | (?M . edited) | 166 | (?M . edited) |
| 167 | (?R . removed) | 167 | (?R . removed) |
| 168 | (?? . unregistered) | 168 | (?? . unregistered) |
| 169 | ;; This is what vc-svn-parse-status does. | 169 | ;; This is what vc-svn-parse-status does. |
| 170 | (?~ . edited))) | 170 | (?~ . edited))) |
| 171 | result) | 171 | result) |
| 172 | (goto-char (point-min)) | 172 | (goto-char (point-min)) |
| 173 | (while (re-search-forward "^\\(.\\)..... \\(.*\\)$" nil t) | 173 | (while (re-search-forward "^\\(.\\)..... \\(.*\\)$" nil t) |
| @@ -175,7 +175,7 @@ If you want to force an empty list of arguments, use t." | |||
| 175 | (filename (match-string 2))) | 175 | (filename (match-string 2))) |
| 176 | (when state | 176 | (when state |
| 177 | (setq result (cons (list filename state) result))))) | 177 | (setq result (cons (list filename state) result))))) |
| 178 | (funcall callback result buffer))) | 178 | (funcall callback result))) |
| 179 | 179 | ||
| 180 | (defun vc-svn-dir-status (dir callback) | 180 | (defun vc-svn-dir-status (dir callback) |
| 181 | "Run 'svn status' for DIR and update BUFFER via CALLBACK. | 181 | "Run 'svn status' for DIR and update BUFFER via CALLBACK. |