GNU bug report logs - #57777
28.2; `vc-dir' picks incorrect backend.

Previous Next

Package: emacs;

Reported by: Mike Woolley <mike <at> bulsara.com>

Date: Tue, 13 Sep 2022 16:31:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mike Woolley <mike <at> bulsara.com>
Cc: 57777 <at> debbugs.gnu.org
Subject: bug#57777: 28.2; `vc-dir' picks incorrect backend.
Date: Wed, 14 Sep 2022 16:32:55 +0200
[Message part 1 (text/plain, inline)]
Mike Woolley <mike <at> bulsara.com> writes:

> 1 Start with a directory having both .Git and CVS sub-directories.
> 2 Emacs -Q
> 3 (setq vc-handled-backends '(Git CVS))
> 4 (vc-dir)
> 5 Observe `vc-dir’ incorrectly uses the CVS backend rather than Git.

I'm unable to reproduce this problem with Emacs 28.2 (or the current
trunk).

I did:

mkdir /tmp/vc /tmp/vc/.git /tmp/vc/CVS
emacs -Q

and then:

(setq vc-handled-backends '(Git CVS))
(vc-dir "/tmp/vc")

And got:

[Message part 2 (image/png, inline)]
[Message part 3 (text/plain, inline)]
Are there any steps missing in your recipe that's needed to reproduce
the problem?

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

Previous Next


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