GNU bug report logs - #58525
28.1: `vc-dir' (key sequence: C-x v d) fails when used with a CVS repository

Previous Next

Package: emacs;

Reported by: Mark Harig <idirectscm <at> aim.com>

Date: Fri, 14 Oct 2022 17:37:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mark Harig <idirectscm <at> aim.com>
Cc: 58525 <at> debbugs.gnu.org
Subject: bug#58525: 28.1: `vc-dir' (key sequence: C-x v d) fails when used with a CVS repository
Date: Fri, 14 Oct 2022 21:34:00 +0300
> Date: Fri, 14 Oct 2022 17:36:38 +0000 (UTC)
> From:  Mark Harig via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 
> When attempting to retrieve a VC status for a directory or file
> when the VC backend is CVS, the `vc-dir' command fails with an
> error message.

I'm not sure I understand the reason for this elaborate setup.  It
sounds like CVSROOT is in ~/tmp1, but you expect Emacs to understand
that ~/tmp3/project1, which is outside of the ~/tmp1 tree, is part of
the CVS repository in ~/tmp1?  Why is the correct expectation?

FWIW, "C-x v d" in a CVS repository (i.e. a directory which has a
'CVS' subdirectory) does not signal an error, and displays the correct
VC status of the files.

> So, the code for `vc-dir' (or, key sequence C-x v d) contains an
> error in which it cannot correctly identify the VC backend if it
> is not provided, when the VC backend is CVS.

Please tell how Emacs was supposed to realize that ~/tmp3/project1
directory is a CVS repository.

Thanks.




This bug report was last modified 2 years and 215 days ago.

Previous Next


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