How to treat a symbolic link as a directory in Mercurial?

前端 未结 4 1959
夕颜
夕颜 2020-12-29 04:32

As of 0.9.4, when adding a symbolic link Mercurial keeps track of the link itself, and not the file or directories it points to. However, there are cases when it is desirabl

4条回答
  •  余生分开走
    2020-12-29 04:41

    I was surprised when I found this too, but it seems to be a feature that the Mercurial team don't want to change for security reasons.

    I'm planning to get around it by using rsync to update the local copy of the directory before committing, from my makefile. This isn't a great solution but my directory is quite small so it should be OK.

提交回复
热议问题