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

前端 未结 4 1960
夕颜
夕颜 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:49

    Just a follow up on Rage Steel's excellent answer (mount --bind):

    To make your mount ready on boot (since mounts don't survive reboots), in your /etc/fstabs put:

    /paht/to/source /path/to/target bind defaults,bind 0 0

    Just make sure to put it after your source is mounted.

提交回复
热议问题