Subject: Re: bug#23436: [PATCH] Attemp to use the true name of a file to determine responsible vc if the genuine name does not work.

From: Hong Xu <[email-masked]>
Date: Thu, 20 Oct 2016 09:39:45 -0700

On 10/20/2016 02:47 AM, Dmitry Gutov wrote:
> On 20.10.2016 03:16, Hong Xu wrote:
> 
>> mkdir my-repo && cd my-repo
>> hg init
>> git clone git://git.savannah.gnu.org/emacs.git
>> ln -s  emacs/README README_emacs
>> hg add README_emacs
>>
>> README_emacs is tracked in the repo "my-repo" but README is tracked in
>> the emacs repo. If true name is directly used, we would fail to obtain
>> the correct responsible backend.
> 
> OK, thanks.
> 
> Regarding the user option, though, wouldn't it be almost as good if you
> could call vc-follow-link interactively? Not sure if vc-follow-link
> works for directories, but a new command could.

Regarding the performance and user options, this might be the best way
(or consider adding a function that wraps the two calls). If this is the
way to go, can you add a little explanation in the doc string? People
may not be aware of it. Thanks.