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 desirable to keep track of the files pointed to by the symbolic link.
How can I force Mercurial to treat the symbolic link to a directory as a regular directory?
ln
to produce hard links. It complains that the the target is a directory. – Middlebrooksls(1)
on my Linux machine:-d
,-F
,--directory
: allow the superuser to attempt to hard link directories (note: will probably fail due to system restrictions, even for the superuser). – Galbraith