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.