Use the right client for ‘vc-dir’

This commit is contained in:
Tom Willemse 2021-03-10 18:10:16 -08:00
parent 461b1357f9
commit 0f054faa4d

View file

@ -189,7 +189,9 @@ compare non-open files to the depot version."
_FILES is ignored. The UPDATE-FUNCTION is used to process the _FILES is ignored. The UPDATE-FUNCTION is used to process the
results of this function." results of this function."
;; XXX: this should be asynchronous. ;; XXX: this should be asynchronous.
(let ((lists (p4-lowlevel-fstat (let* ((vc-p4-client (with-current-buffer (find-file-noselect dir)
vc-p4-client))
(lists (p4-lowlevel-fstat
(format "%s/..." (directory-file-name (expand-file-name dir))) (format "%s/..." (directory-file-name (expand-file-name dir)))
:noerror t :noerror t
:client vc-p4-client))) :client vc-p4-client)))