comparison lisp/vc-rcs.el @ 106033:2bed02fa3041

* vc.el (vc-log-show-limit): New variable. (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it when using a prefix argument. (vc-print-log-internal): Add new argument LIMIT. * vc-svn.el (vc-svn-print-log): * vc-mtn.el (vc-mtn-print-log): * vc-hg.el (vc-hg-print-log): * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT, pass it to the log command when set. Make the BUFFER argument non-optional. * vc-sccs.el (vc-sccs-print-log): * vc-rcs.el (vc-rcs-print-log): * vc-git.el (vc-git-print-log): * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT, ignore it. Make the BUFFER argument non-optional
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 15 Nov 2009 20:28:58 +0000
parents 009383a57ce8
children a7d1facd7ddf
comparison
equal deleted inserted replaced
106032:42cdafa98c50 106033:2bed02fa3041
557 (forward-line -1)) 557 (forward-line -1))
558 (goto-char (point-min)) 558 (goto-char (point-min))
559 (when (looking-at "[\b\t\n\v\f\r ]+") 559 (when (looking-at "[\b\t\n\v\f\r ]+")
560 (delete-char (- (match-end 0) (match-beginning 0)))))) 560 (delete-char (- (match-end 0) (match-beginning 0))))))
561 561
562 (defun vc-rcs-print-log (files &optional buffer shortlog) 562 (defun vc-rcs-print-log (files buffer &optional shortlog limit)
563 "Get change log associated with FILE. If FILE is a 563 "Get change log associated with FILE. If FILE is a
564 directory the operation is applied to all registered files beneath it." 564 directory the operation is applied to all registered files beneath it."
565 (vc-do-command (or buffer "*vc*") 0 "rlog" (mapcar 'vc-name (vc-expand-dirs files))) 565 (vc-do-command (or buffer "*vc*") 0 "rlog" (mapcar 'vc-name (vc-expand-dirs files)))
566 (with-current-buffer (or buffer "*vc*") 566 (with-current-buffer (or buffer "*vc*")
567 (vc-rcs-print-log-cleanup))) 567 (vc-rcs-print-log-cleanup)))