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

前端 未结 4 1944
夕颜
夕颜 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条回答
  •  旧时难觅i
    2020-12-29 04:59

    I don't think there's a way to do this when you're working with directories.

    If you're working with mercurial 1.3 or later you could try using the new subrepo support, that will let you have a repo track stuff ourside of it on the local disk, but it's not as seamless as a link would have been.

提交回复
热议问题