* lisp/vc/vc.el (vc-print-branch-log): Fix interactive spec.
For reading vc-read-revision in the interactive spec use the same 'backend' and 'rootdir' as in the body of the same function.
This commit is contained in:
parent
71302884dd
commit
bcc95bd66d
1 changed files with 4 additions and 2 deletions
|
@ -2741,8 +2741,10 @@ with its diffs (if the underlying VCS supports that)."
|
|||
(defun vc-print-branch-log (branch)
|
||||
"Show the change log for BRANCH root in a window."
|
||||
(interactive
|
||||
(list
|
||||
(vc-read-revision "Branch to log: ")))
|
||||
(let* ((backend (vc-responsible-backend default-directory))
|
||||
(rootdir (vc-call-backend backend 'root default-directory)))
|
||||
(list
|
||||
(vc-read-revision "Branch to log: " (list rootdir) backend))))
|
||||
(when (equal branch "")
|
||||
(error "No branch specified"))
|
||||
(let* ((backend (vc-responsible-backend default-directory))
|
||||
|
|
Loading…
Add table
Reference in a new issue