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

From: Rupert Swarbrick <[email-masked]>
Date: Fri, 6 Feb 2015 10:20:05 +0000

Dmitry Gutov <[email-masked]> 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