# HG changeset patch # User Dan Nicolaescu # Date 1206296135 0 # Node ID 22d835ffa8f724392119a6b0c14c902c0ba291a4 # Parent 9f29accd415e5f511be0f57127e800ff3effbbe3 (vc-cvs-parse-status): Note there are problems with subdirectories. diff -r 9f29accd415e -r 22d835ffa8f7 lisp/ChangeLog --- a/lisp/ChangeLog Sun Mar 23 18:12:18 2008 +0000 +++ b/lisp/ChangeLog Sun Mar 23 18:15:35 2008 +0000 @@ -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 -r 9f29accd415e -r 22d835ffa8f7 lisp/vc-cvs.el --- a/lisp/vc-cvs.el Sun Mar 23 18:12:18 2008 +0000 +++ b/lisp/vc-cvs.el Sun Mar 23 18:15:35 2008 +0000 @@ -812,6 +812,12 @@ ;; 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