+2009-06-12 Sam Steingold <sds@gnu.org>
+
+ * vc-hg.el (vc-hg-log-switches): Add defcustom.
+ (vc-hg-print-log): Use it.
+
2009-06-12 Kenichi Handa <handa@m17n.org>
* international/eucjp-ms.el: Re-generated.
;;; History functions
+(defcustom vc-hg-log-switches nil
+ "String or list of strings specifying switches for hg log under VC."
+ :type '(choice (const :tag "None" nil)
+ (string :tag "Argument String")
+ (repeat :tag "Argument List" :value ("") string))
+ :group 'vc-hg)
+
(defun vc-hg-print-log (files &optional buffer)
"Get change log associated with FILES."
;; `log-view-mode' needs to have the file names in order to function
(let ((inhibit-read-only t))
(with-current-buffer
buffer
- (vc-hg-command buffer 0 files "log"))))
+ (apply 'vc-hg-command buffer 0 files "log" vc-hg-log-switches))))
(defvar log-view-message-re)
(defvar log-view-file-re)