From: Dan Nicolaescu Date: Sun, 23 Mar 2008 18:15:35 +0000 (+0000) Subject: (vc-cvs-parse-status): Note there are problems with X-Git-Tag: emacs-pretest-23.0.90~6978 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e3837816acdfdad1bb4ee2b0ab0e1f99251a639;p=emacs.git (vc-cvs-parse-status): Note there are problems with subdirectories. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 18cf78e04cb..6c0c3fec8b6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2008-03-23 Dan Nicolaescu + * 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. diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el index 98051b65430..a3a8b198956 100644 --- a/lisp/vc-cvs.el +++ b/lisp/vc-cvs.el @@ -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