comparison lisp/vc-cvs.el @ 93160:22d835ffa8f7

(vc-cvs-parse-status): Note there are problems with subdirectories.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 23 Mar 2008 18:15:35 +0000
parents 5ec26b66bbe8
children 7b2ec9fec56e
comparison
equal deleted inserted replaced
93159:9f29accd415e 93160:22d835ffa8f7
810 (equal method "local") 810 (equal method "local")
811 (setq root (concat host ":" root) host)) 811 (setq root (concat host ":" root) host))
812 ;; Normalize CVS root record 812 ;; Normalize CVS root record
813 (list method user host root))))) 813 (list method user host root)))))
814 814
815 ;; XXX: This does not work correctly for subdirectories. "cvs status"
816 ;; information is context sensitive, it contains lines like:
817 ;; cvs status: Examining DIRNAME
818 ;; and the file entries after that don't show the full path.
819 ;; Because of this vc-dired only shows changed files at the top level
820 ;; for CVS.
815 (defun vc-cvs-parse-status (&optional full) 821 (defun vc-cvs-parse-status (&optional full)
816 "Parse output of \"cvs status\" command in the current buffer. 822 "Parse output of \"cvs status\" command in the current buffer.
817 Set file properties accordingly. Unless FULL is t, parse only 823 Set file properties accordingly. Unless FULL is t, parse only
818 essential information. Note that this can never set the 'ignored 824 essential information. Note that this can never set the 'ignored
819 state." 825 state."