From 4f49b16079b27d7ce633619e4cddfdf2bffbc952 Mon Sep 17 00:00:00 2001 From: cashmere Date: Fri, 4 Sep 2026 09:05:24 +0200 Subject: initial commit --- www/settings.wiki | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 www/settings.wiki (limited to 'www/settings.wiki') diff --git a/www/settings.wiki b/www/settings.wiki new file mode 100644 index 0000000..5e63b1c --- /dev/null +++ b/www/settings.wiki @@ -0,0 +1,61 @@ +Fossil Settings + +

Using Fossil Settings

+ +Settings control the behaviour of fossil. They are set with the +fossil settings command, or through the web interface in +the Settings page in the Admin section. + +For a list of all settings, view the Settings page, or type +fossil help settings from the command line. + + +

1.0 Repository settings

+ +Settings are set on a per-repository basis. When you clone a repository, +a subset of settings are copied to your local repository. + +If you make a change to a setting on your local repository, it is not +synced back to the server when you push or sync. If +you make a change on the server, you need to manually make the change on +all repositories which are cloned from this repository. + +You can also set a setting globally on your local machine. The value +will be used for all repositories cloned to your machine, unless +overridden explicitly in a particular repository. Global settings can be +set by using the -global option on the fossil settings +command. + +

2.0 "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 clean-glob, binary-glob, +crlf-glob (and its alias crnl-glob), empty-dirs, +encoding-glob, ignore-glob, keep-glob, +manifest, and mimetypes. 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 create versioned files in the .fossil-settings +subdirectory of the check-out root, named with the setting name. +Each file holds the value of a 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 use a newline as a separator as well as a comma. + +For example, to set the list of ignored files, create a +.fossil-settings/ignore-glob file where each line contains a +glob for ignored files. + +If you set the value of a setting using the settings command as +well as a versioned file, the versioned setting will take precedence. A +warning will be displayed. -- cgit v1.3.1