diff options
Diffstat (limited to 'lisp/vc-mtn.el')
-rw-r--r-- | lisp/vc-mtn.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/vc-mtn.el b/lisp/vc-mtn.el index 05be5c8ef11..dc745811cd8 100644 --- a/lisp/vc-mtn.el +++ b/lisp/vc-mtn.el @@ -188,9 +188,11 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches." ;; (defun vc-mtn-roolback (files) ;; ) -(defun vc-mtn-print-log (files buffer &optional shortlog limit) +(defun vc-mtn-print-log (files buffer &optional shortlog start-revision limit) (apply 'vc-mtn-command buffer 0 files "log" - (when limit (list "--last" (format "%s" limit))))) + (append + (when start-revision (list "--from" (format "%s" start-revision)) + (when limit (list "--last" (format "%s" limit))))))) (defvar log-view-message-re) (defvar log-view-file-re) |