Index: src/db.c ================================================================== --- src/db.c +++ src/db.c @@ -1809,11 +1809,11 @@ char const *def; /* Default value */ }; #endif /* INTERFACE */ struct stControlSettings const ctrlSettings[] = { { "access-log", 0, 0, 0, "off" }, - { "allow-symlinks",0, 0, 0, "off" }, + { "allow-symlinks",0, 0, 1, "off" }, { "auto-captcha", "autocaptcha", 0, 0, "on" }, { "auto-shun", 0, 0, 0, "on" }, { "autosync", 0, 0, 0, "on" }, { "binary-glob", 0, 32, 1, "" }, { "clearsign", 0, 0, 0, "off" }, @@ -1867,11 +1867,11 @@ ** ** The "unset" command clears a property setting. ** ** ** allow-symlinks If enabled, don't follow symlinks, and instead treat -** them as symlinks on Unix. Has no effect on Windows +** (versionable) them as symlinks on Unix. Has no effect on Windows ** (existing links in repository created on Unix become ** plain-text files with link destination path inside). ** Default: off ** ** auto-captcha If enabled, the Login page provides a button to Index: www/settings.wiki ================================================================== --- www/settings.wiki +++ www/settings.wiki @@ -18,11 +18,11 @@

"Versionable" settings

Most of the settings control the behaviour of fossil on your local machine, largely acting to reflect your preference on how you want to use Fossil, how you communicate with the server, or options for hosting a repository on the web. -However, for historical reasons, some settings affect how you work with versioned files. These are binary-glob, crnl-glob, ignore-glob, empty-dirs and manifest. The most important is ignore-glob which specifies which files should be ignored when looking for unmanaged files with the extras command. +However, for historical reasons, some settings affect how you work with versioned files. These are allow-symlinks, binary-glob, crnl-glob, ignore-glob, empty-dirs and manifest. The most important is ignore-glob which specifies which files should be ignored when looking for unmanaged files with the extras command. Because these options can change over time, and the inconvenience of replicating changes, these settings are "versionable". As well as being able to be set using the settings command or the web interface, you can created versioned files in the .fossil-settings directory named with the setting name. The contents of the file is the value of the setting, and these files are checked in, committed, merged, and so on, as with any other file. Where a setting is a list of values, such as ignore-glob, you can also a newline as a separator as well as a comma.