[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-directory breakage

From: Stefan Monnier
Subject: Re: vc-directory breakage
Date: Mon, 05 May 2008 21:03:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> Also please put the backend in a buffer-local variable in the vc-dir
>> buffer, that way all the vc-responsible-backend calls in vc-generic-* can be
>> eliminated.  
>> With that change this code will work.
>> It does not work right now for at least hg, git and svn.

> The recommended change may be a good idea, but I'm not sure.  Those backend
> checks are now being done at file granularity because some people were vocal
> about support for mixing multiple VCSes in a directory.

I believe you have misunderstood the request, then: "support the multi-VCS
case" means exactly what Dan asks, which is "make sure only one backend
is used for a given command, even if the command includes files that are
under various backends".

I.e. the issue is not "several subdirs of *vc-dir* which each use
a different backend", but "all the files under *vc-dir* are under the
control of several backends at the same time".


reply via email to

[Prev in Thread] Current Thread [Next in Thread]