arean / Porjay Public

Porjay: distributed version control and code hosting, built on Fossil SCM

Help: allow-symlinks

The "allow-symlinks" setting:

When allow-symlinks is OFF, Porjay does not see symbolic links (a.k.a "symlinks") on disk as a separate class of object. Instead Porjay sees the object that the symlink points to. Porjay will only manage files and directories, not symlinks. When a symlink is added to a repository, the object that the symlink points to is added, not the symlink itself.

When allow-symlinks is ON, Porjay sees symlinks on disk as a separate object class that is distinct from files and directories. When a symlink is added to a repository, Porjay stores the target filename. In other words, Porjay stores the symlink itself, not the object that the symlink points to.

Symlinks are not cross-platform. They are not available on all operating systems and file systems. Hence the allow-symlinks setting is OFF by default, for portability.