1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

(vc-cvs-parse-status): Note there are problems with

subdirectories.
This commit is contained in:
Dan Nicolaescu 2008-03-23 18:15:35 +00:00
parent d39730b895
commit 4e3837816a
2 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2008-03-23 Dan Nicolaescu <dann@ics.uci.edu>
* vc-cvs.el (vc-cvs-parse-status): Note there are problems with
subdirectories.
* vc.el (vc-status-prepare-status-buffer): Fix thinko.
(vc-status-menu-map): Add binding for
vc-status-kill-dir-status-process. Add :enable for vc-status-refresh.

View File

@ -812,6 +812,12 @@ For an empty string, nil is returned (invalid CVS root)."
;; Normalize CVS root record
(list method user host root)))))
;; XXX: This does not work correctly for subdirectories. "cvs status"
;; information is context sensitive, it contains lines like:
;; cvs status: Examining DIRNAME
;; and the file entries after that don't show the full path.
;; Because of this vc-dired only shows changed files at the top level
;; for CVS.
(defun vc-cvs-parse-status (&optional full)
"Parse output of \"cvs status\" command in the current buffer.
Set file properties accordingly. Unless FULL is t, parse only