GNU bug report logs - #18514
24.3; vc-dir sometimes guesses the wrong backend

Previous Next

Package: emacs;

Reported by: barry <at> python.org (Barry A. Warsaw)

Date: Sat, 20 Sep 2014 22:42:02 UTC

Severity: minor

Tags: fixed

Merged with 3807, 8179, 8603, 42966

Found in versions 23.3.50, 24.0.50, 24.3, 28.0.50

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Glenn Morris <rgm <at> gnu.org>
To: barry <at> python.org (Barry A. Warsaw)
Cc: 18514 <at> debbugs.gnu.org
Subject: Re: bug#18514: 24.3; vc-dir sometimes guesses the wrong backend
Date: Sun, 21 Sep 2014 17:28:04 -0400
Barry A. Warsaw wrote:

> vc-dir sometimes guesses the wrong backend.  Here's a reproducible
> example.
>
> $ cd /tmp
> $ bzr init bzrinit
> $ bzr init-repo bzrinitrepo
> $ git init bzrinit/gitme
> $ git init bzrinitrepo/gitme
>
> M-x vc-dir RET /tmp/bzrinit/gitme
> M-x vc-dir RET /tmp/bzrinitrepo/gitme
>
> vc-dir chooses Bzr as the backend for /tmp/bzrinit/gitme but git as the
> backend for /tmp/bzrinitrepo/gitme.  In both cases, git should have been
> chosen.

This is http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8179 (et al) again.

vc currently loops over backends, then the directory tree.
That needs to be reversed, but no-one has gotten round to it.

(For your specific example, you can reorder vc-handled-backends.)





This bug report was last modified 4 years and 259 days ago.

Previous Next


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