unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Mike Woolley <mike@bulsara.com>
Cc: 57777@debbugs.gnu.org
Subject: bug#57777: 28.2; `vc-dir' picks incorrect backend.
Date: Wed, 14 Sep 2022 16:32:55 +0200	[thread overview]
Message-ID: <8735cu81rc.fsf@gnus.org> (raw)
In-Reply-To: <29088AD9-36ED-4D7D-A0A0-6D17C79F065F@bulsara.com> (Mike Woolley's message of "Tue, 13 Sep 2022 17:30:28 +0100")

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

Mike Woolley <mike@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:


[-- Attachment #2: Type: image/png, Size: 42685 bytes --]

[-- Attachment #3: Type: text/plain, Size: 84 bytes --]


Are there any steps missing in your recipe that's needed to reproduce
the problem?

  reply	other threads:[~2022-09-14 14:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13 16:30 bug#57777: 28.2; `vc-dir' picks incorrect backend Mike Woolley
2022-09-14 14:32 ` Lars Ingebrigtsen [this message]
2022-09-14 14:36   ` Lars Ingebrigtsen
2022-09-14 14:43     ` Lars Ingebrigtsen
2022-09-15 14:53       ` Mike Woolley
2022-09-15 15:39         ` Mike Woolley
2022-09-16  9:46           ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735cu81rc.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=57777@debbugs.gnu.org \
    --cc=mike@bulsara.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).