comparison lisp/vc-rcs.el @ 105010:b3c2589ed19e

* vc.el (top): print-log method now takes an optional SHORTLOG argument. Add a new method: root. * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for vc-print-root-log and vc-print-root-diff. * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log): * vc-git.el (vc-git-print-log, vc-git-log-view-mode): * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for short logs. * vc-cvs.el (vc-cvs-print-log): * vc-mtn.el (vc-mtn-print-log): * vc-rcs.el (vc-rcs-print-log): * vc-sccs.el (vc-sccs-print-log): * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog that is ignored for now.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 14 Sep 2009 04:38:49 +0000
parents 6c2939592100
children f8ba8d6fd250
comparison
equal deleted inserted replaced
105009:b520d55cdd72 105010:b3c2589ed19e
547 (forward-line -1)) 547 (forward-line -1))
548 (goto-char (point-min)) 548 (goto-char (point-min))
549 (when (looking-at "[\b\t\n\v\f\r ]+") 549 (when (looking-at "[\b\t\n\v\f\r ]+")
550 (delete-char (- (match-end 0) (match-beginning 0)))))) 550 (delete-char (- (match-end 0) (match-beginning 0))))))
551 551
552 (defun vc-rcs-print-log (files &optional buffer) 552 (defun vc-rcs-print-log (files &optional buffer shortlog)
553 "Get change log associated with FILE. If FILE is a 553 "Get change log associated with FILE. If FILE is a
554 directory the operation is applied to all registered files beneath it." 554 directory the operation is applied to all registered files beneath it."
555 (vc-do-command (or buffer "*vc*") 0 "rlog" (mapcar 'vc-name (vc-expand-dirs files))) 555 (vc-do-command (or buffer "*vc*") 0 "rlog" (mapcar 'vc-name (vc-expand-dirs files)))
556 (with-current-buffer (or buffer "*vc*") 556 (with-current-buffer (or buffer "*vc*")
557 (vc-rcs-print-log-cleanup))) 557 (vc-rcs-print-log-cleanup)))