bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19732: 25.0.50; Wrong type argument: arrayp when running vc-dir on a


From: Rupert Swarbrick
Subject: bug#19732: 25.0.50; Wrong type argument: arrayp when running vc-dir on a CVS repo
Date: Fri, 6 Feb 2015 10:20:05 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:
> Rupert, please try this patch instead:
>
> <--
> diff --git a/lisp/vc/vc-cvs.el b/lisp/vc/vc-cvs.el
> index d803c16..707090a 100644
> --- a/lisp/vc/vc-cvs.el
> +++ b/lisp/vc/vc-cvs.el
> @@ -1076,7 +1076,7 @@ Query all files in DIR if files is nil."
>      (if (and (not files) local (not (eq local 'only-file)))
>       (vc-cvs-dir-status-heuristic dir update-function)
>        (if (not files) (setq files (vc-expand-dirs (list dir) 'CVS)))
> -      (vc-cvs-command (current-buffer) 'async dir "-f" "status" files)
> +      (vc-cvs-command (current-buffer) 'async files "-f" "status")
>        ;; Alternative implementation: use the "update" command instead of
>        ;; the "status" command.
>        ;; (vc-cvs-command (current-buffer) 'async
> <--

Sorry for the slow reply. This seems to fix things, thanks.

Rupert





reply via email to

[Prev in Thread] Current Thread [Next in Thread]