2004-11-03 Thien-Thi Nguyen <ttn@gnu.org>
+ * vc-cvs.el (vc-cvs-annotate-command):
+ Delete extraneous lines from beginning of buffer.
+ * vc-mcvs.el (vc-mcvs-annotate-command): Likewise.
+
* progmodes/grep.el (grep-default-command): Take empty string
for tag if all other methods yield nil. Shell-quote the tag.
;;; Commentary:
;; The home page of the Meta-CVS version control system is at
-;;
+;;
;; http://users.footprints.net/~kaz/mcvs.html
-;;
+;;
;; This is derived from vc-cvs.el as follows:
;; - cp vc-cvs.el vc-mcvs.el
;; - Replace CVS/ with MCVS/CVS/
(vc-mcvs-command
buffer
(if (and (vc-stay-local-p file) (fboundp 'start-process)) 'async 0)
- file "annotate" (if version (concat "-r" version))))
+ file "annotate" (if version (concat "-r" version)))
+ (with-current-buffer buffer
+ (goto-char (point-min))
+ (re-search-forward "^[0-9]")
+ (delete-region (point-min) (1- (point)))))
(defalias 'vc-mcvs-annotate-current-time 'vc-cvs-annotate-current-time)
(defalias 'vc-mcvs-annotate-time 'vc-cvs-annotate-time)