2008-04-21 Dan Nicolaescu <dann@ics.uci.edu>
+ * vc-cvs.el (vc-cvs-status-extra-headers): New function.
+
* vc-hooks.el (vc-insert-file, vc-state, vc-working-revision)
(vc-check-master-templates, vc-file-not-found-hook)
(vc-kill-buffer-hook):
;; (funcall update-function result)))
)
-;; XXX Experimental function for the vc-dired replacement.
(defun vc-cvs-dir-status (dir update-function)
"Create a list of conses (file . state) for DIR."
(vc-cvs-command (current-buffer) 'async dir "status")
(vc-exec-after
`(vc-cvs-after-dir-status (quote ,update-function))))
+(defun vc-cvs-status-extra-headers (dir)
+ (concat
+ ;; FIXME: see how PCL-CVS gets the data to print all these
+ (propertize "Module : " 'face 'font-lock-type-face)
+ (propertize "ADD CODE TO PRINT THE MODULE\n"
+ 'face 'font-lock-warning-face)
+ (propertize "Repository : " 'face 'font-lock-type-face)
+ (propertize "ADD CODE TO PRINT THE REPOSITORY\n"
+ 'face 'font-lock-warning-face)
+ (propertize "Branch : " 'face 'font-lock-type-face)
+ (propertize "ADD CODE TO PRINT THE BRANCH NAME\n"
+ 'face 'font-lock-warning-face)))
+
(defun vc-cvs-get-entries (dir)
"Insert the CVS/Entries file from below DIR into the current buffer.
This function ensures that the correct coding system is used for that,