Fossil SCM

Make allow-symlinks a versionable setting.

ben 2011-12-01 16:16 trunk
Commit ec5c690e0e91614362d333bd2221e6fbd94ca4da
2 files changed +2 -2 +1 -1
+2 -2
--- src/db.c
+++ src/db.c
@@ -1809,11 +1809,11 @@
18091809
char const *def; /* Default value */
18101810
};
18111811
#endif /* INTERFACE */
18121812
struct stControlSettings const ctrlSettings[] = {
18131813
{ "access-log", 0, 0, 0, "off" },
1814
- { "allow-symlinks",0, 0, 0, "off" },
1814
+ { "allow-symlinks",0, 0, 1, "off" },
18151815
{ "auto-captcha", "autocaptcha", 0, 0, "on" },
18161816
{ "auto-shun", 0, 0, 0, "on" },
18171817
{ "autosync", 0, 0, 0, "on" },
18181818
{ "binary-glob", 0, 32, 1, "" },
18191819
{ "clearsign", 0, 0, 0, "off" },
@@ -1867,11 +1867,11 @@
18671867
**
18681868
** The "unset" command clears a property setting.
18691869
**
18701870
**
18711871
** allow-symlinks If enabled, don't follow symlinks, and instead treat
1872
-** them as symlinks on Unix. Has no effect on Windows
1872
+** (versionable) them as symlinks on Unix. Has no effect on Windows
18731873
** (existing links in repository created on Unix become
18741874
** plain-text files with link destination path inside).
18751875
** Default: off
18761876
**
18771877
** auto-captcha If enabled, the Login page provides a button to
18781878
--- src/db.c
+++ src/db.c
@@ -1809,11 +1809,11 @@
1809 char const *def; /* Default value */
1810 };
1811 #endif /* INTERFACE */
1812 struct stControlSettings const ctrlSettings[] = {
1813 { "access-log", 0, 0, 0, "off" },
1814 { "allow-symlinks",0, 0, 0, "off" },
1815 { "auto-captcha", "autocaptcha", 0, 0, "on" },
1816 { "auto-shun", 0, 0, 0, "on" },
1817 { "autosync", 0, 0, 0, "on" },
1818 { "binary-glob", 0, 32, 1, "" },
1819 { "clearsign", 0, 0, 0, "off" },
@@ -1867,11 +1867,11 @@
1867 **
1868 ** The "unset" command clears a property setting.
1869 **
1870 **
1871 ** allow-symlinks If enabled, don't follow symlinks, and instead treat
1872 ** them as symlinks on Unix. Has no effect on Windows
1873 ** (existing links in repository created on Unix become
1874 ** plain-text files with link destination path inside).
1875 ** Default: off
1876 **
1877 ** auto-captcha If enabled, the Login page provides a button to
1878
--- src/db.c
+++ src/db.c
@@ -1809,11 +1809,11 @@
1809 char const *def; /* Default value */
1810 };
1811 #endif /* INTERFACE */
1812 struct stControlSettings const ctrlSettings[] = {
1813 { "access-log", 0, 0, 0, "off" },
1814 { "allow-symlinks",0, 0, 1, "off" },
1815 { "auto-captcha", "autocaptcha", 0, 0, "on" },
1816 { "auto-shun", 0, 0, 0, "on" },
1817 { "autosync", 0, 0, 0, "on" },
1818 { "binary-glob", 0, 32, 1, "" },
1819 { "clearsign", 0, 0, 0, "off" },
@@ -1867,11 +1867,11 @@
1867 **
1868 ** The "unset" command clears a property setting.
1869 **
1870 **
1871 ** allow-symlinks If enabled, don't follow symlinks, and instead treat
1872 ** (versionable) them as symlinks on Unix. Has no effect on Windows
1873 ** (existing links in repository created on Unix become
1874 ** plain-text files with link destination path inside).
1875 ** Default: off
1876 **
1877 ** auto-captcha If enabled, the Login page provides a button to
1878
--- www/settings.wiki
+++ www/settings.wiki
@@ -18,11 +18,11 @@
1818
1919
<h3>"Versionable" settings</h3>
2020
2121
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.
2222
23
-However, for historical reasons, some settings affect how you work with versioned files. These are <tt>binary-glob</tt>, <tt>crnl-glob</tt>, <tt>ignore-glob</tt>, <tt>empty-dirs</tt> and <tt>manifest</tt>. The most important is <tt>ignore-glob</tt> which specifies which files should be ignored when looking for unmanaged files with the <tt>extras</tt> command.
23
+However, for historical reasons, some settings affect how you work with versioned files. These are <tt>allow-symlinks</tt>, <tt>binary-glob</tt>, <tt>crnl-glob</tt>, <tt>ignore-glob</tt>, <tt>empty-dirs</tt> and <tt>manifest</tt>. The most important is <tt>ignore-glob</tt> which specifies which files should be ignored when looking for unmanaged files with the <tt>extras</tt> command.
2424
2525
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 <tt>settings</tt> command or the web interface, you can created versioned files in the <tt>.fossil-settings</tt> 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.
2626
2727
Where a setting is a list of values, such as <tt>ignore-glob</tt>, you can also a newline as a separator as well as a comma.
2828
2929
--- www/settings.wiki
+++ www/settings.wiki
@@ -18,11 +18,11 @@
18
19 <h3>"Versionable" settings</h3>
20
21 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.
22
23 However, for historical reasons, some settings affect how you work with versioned files. These are <tt>binary-glob</tt>, <tt>crnl-glob</tt>, <tt>ignore-glob</tt>, <tt>empty-dirs</tt> and <tt>manifest</tt>. The most important is <tt>ignore-glob</tt> which specifies which files should be ignored when looking for unmanaged files with the <tt>extras</tt> command.
24
25 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 <tt>settings</tt> command or the web interface, you can created versioned files in the <tt>.fossil-settings</tt> 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.
26
27 Where a setting is a list of values, such as <tt>ignore-glob</tt>, you can also a newline as a separator as well as a comma.
28
29
--- www/settings.wiki
+++ www/settings.wiki
@@ -18,11 +18,11 @@
18
19 <h3>"Versionable" settings</h3>
20
21 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.
22
23 However, for historical reasons, some settings affect how you work with versioned files. These are <tt>allow-symlinks</tt>, <tt>binary-glob</tt>, <tt>crnl-glob</tt>, <tt>ignore-glob</tt>, <tt>empty-dirs</tt> and <tt>manifest</tt>. The most important is <tt>ignore-glob</tt> which specifies which files should be ignored when looking for unmanaged files with the <tt>extras</tt> command.
24
25 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 <tt>settings</tt> command or the web interface, you can created versioned files in the <tt>.fossil-settings</tt> 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.
26
27 Where a setting is a list of values, such as <tt>ignore-glob</tt>, you can also a newline as a separator as well as a comma.
28
29

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button