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

Previous Next

Package: emacs;

Reported by: Rupert Swarbrick <ruperts <at> broadcom.com>

Date: Fri, 30 Jan 2015 13:13:02 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 19732 <at> debbugs.gnu.org (full text, mbox):

From: Rupert Swarbrick <ruperts <at> broadcom.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: "Eric S. Raymond" <esr <at> thyrsus.com>, 19732 <at> debbugs.gnu.org
Subject: Re: 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
Dmitry Gutov <dgutov <at> 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




This bug report was last modified 10 years and 110 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.