Commit ee2f409b authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(vc-print-log): Fix call to print-log.

(vc-default-comment-history): Likewise.
parent a6ea7ffc
......@@ -9,6 +9,8 @@
(vc-hg-create-repo): Fix typos.
* vc.el: Fix typo.
(vc-print-log): Fix call to print-log.
(vc-default-comment-history): Likewise.
* vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
......
......@@ -2505,7 +2505,7 @@ If FOCUS-REV is non-nil, leave the point at that revision."
;; buffer can be accessed by the command.
(condition-case err
(progn
(vc-call print-log file "*vc-change-log*")
(vc-call print-log (list file) "*vc-change-log*")
(set-buffer "*vc-change-log*"))
(wrong-number-of-arguments
;; If this error came from the above call to print-log, try again
......@@ -2547,7 +2547,7 @@ If FOCUS-REV is non-nil, leave the point at that revision."
"Return a string with all log entries stored in BACKEND for FILE."
(if (vc-find-backend-function backend 'print-log)
(with-current-buffer "*vc*"
(vc-call print-log file)
(vc-call print-log (list file))
(vc-call wash-log file)
(buffer-string))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment