mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-25 23:59:01 +01:00
138 lines
6.2 KiB
Plaintext
138 lines
6.2 KiB
Plaintext
|
### This file configures various client-side behaviors.
|
||
|
###
|
||
|
### The commented-out examples below are intended to demonstrate
|
||
|
### how to use this file.
|
||
|
|
||
|
### Section for authentication and authorization customizations.
|
||
|
# [auth]
|
||
|
### Set store-passwords to 'no' to avoid storing passwords in the
|
||
|
### auth/ area of your config directory. It defaults to 'yes'.
|
||
|
### Note that this option only prevents saving of *new* passwords;
|
||
|
### it doesn't invalidate existing passwords. (To do that, remove
|
||
|
### the cache files by hand as described in the Subversion book.)
|
||
|
# store-passwords = no
|
||
|
### Set store-auth-creds to 'no' to avoid storing any subversion
|
||
|
### credentials in the auth/ area of your config directory.
|
||
|
### It defaults to 'yes'. Note that this option only prevents
|
||
|
### saving of *new* credentials; it doesn't invalidate existing
|
||
|
### caches. (To do that, remove the cache files by hand.)
|
||
|
# store-auth-creds = no
|
||
|
|
||
|
### Section for configuring external helper applications.
|
||
|
### Set editor to the command used to invoke your text editor.
|
||
|
### This will override the environment variables that Subversion
|
||
|
### examines by default to find this information ($EDITOR,
|
||
|
### et al).
|
||
|
### Set diff-cmd to the absolute path of your 'diff' program.
|
||
|
### This will override the compile-time default, which is to use
|
||
|
### Subversion's internal diff implementation.
|
||
|
### Set diff3-cmd to the absolute path of your 'diff3' program.
|
||
|
### This will override the compile-time default, which is to use
|
||
|
### Subversion's internal diff3 implementation.
|
||
|
### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3'
|
||
|
### program accepts the '--diff-program' option.
|
||
|
|
||
|
[helpers]
|
||
|
#editor-cmd = pico # (vi, emacs, notepad, etc.)
|
||
|
|
||
|
#diff-cmd = /usr/bin/diff -bB
|
||
|
#diff3-cmd = diff3_program (diff3, gdiff3, etc.)
|
||
|
#diff3-has-program-arg = true
|
||
|
|
||
|
### Section for configuring tunnel agents.
|
||
|
# [tunnels]
|
||
|
### Configure svn protocol tunnel schemes here. By default, only
|
||
|
### the 'ssh' scheme is defined. You can define other schemes to
|
||
|
### be used with 'svn+scheme://hostname/path' URLs. A scheme
|
||
|
### definition is simply a command, optionally prefixed by an
|
||
|
### environment variable name which can override the command if it
|
||
|
### is defined. The command (or environment variable) may contain
|
||
|
### arguments, using standard shell quoting for arguments with
|
||
|
### spaces. The command will be invoked as:
|
||
|
### <command> <hostname> svnserve -t
|
||
|
### (If the URL includes a username, then the hostname will be
|
||
|
### passed to the tunnel agent as <user>@<hostname>.) If the
|
||
|
### built-in ssh scheme were not predefined, it could be defined
|
||
|
### as:
|
||
|
# ssh = $SVN_SSH ssh
|
||
|
### If you wanted to define a new 'rsh' scheme, to be used with
|
||
|
### 'svn+rsh:' URLs, you could do so as follows:
|
||
|
# rsh = rsh
|
||
|
### Or, if you wanted to specify a full path and arguments:
|
||
|
# rsh = /path/to/rsh -l myusername
|
||
|
### On Windows, if you are specifying a full path to a command,
|
||
|
### use a forward slash (/) or a paired backslash (\\) as the
|
||
|
### path separator. A single backslash will be treated as an
|
||
|
### escape for the following character.
|
||
|
|
||
|
### Section for configuring miscelleneous Subversion options.
|
||
|
[miscellany]
|
||
|
### Set global-ignores to a set of whitespace-delimited globs
|
||
|
### which Subversion will ignore in its 'status' output.
|
||
|
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store *.bak .depdb .depdblock .filemap .lock .registry .channels .tmp *.webprj *.kdevelop
|
||
|
### Set log-encoding to the default encoding for log messages
|
||
|
log-encoding = utf-8
|
||
|
### Set use-commit-times to make checkout/update/switch/revert
|
||
|
### put last-committed timestamps on every file touched.
|
||
|
use-commit-times = yes
|
||
|
### Set enable-auto-props to 'yes' to enable automatic properties
|
||
|
### for 'svn add' and 'svn import', it defaults to 'no'.
|
||
|
### Automatic properties are defined in the section 'auto-props'.
|
||
|
enable-auto-props = yes
|
||
|
|
||
|
### Section for configuring automatic properties.
|
||
|
### The format of the entries is:
|
||
|
### file-name-pattern = propname[=value][;propname[=value]...]
|
||
|
### The file-name-pattern can contain wildcards (such as '*' and
|
||
|
### '?'). All entries which match will be applied to the file.
|
||
|
### Note that auto-props functionality must be enabled, which
|
||
|
### is typically done by setting the 'enable-auto-props' option.
|
||
|
[auto-props]
|
||
|
|
||
|
*.sh = svn:eol-style=native;svn:executable;svn:keywords=Id;svn:mime-type=application/x-shellscript;charset=utf-8
|
||
|
*.php = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|
||
|
*.txt = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|
||
|
*.cgi = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|
||
|
*.pl = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|
||
|
|
||
|
# Images
|
||
|
*.gif = svn:mime-type=image/gif
|
||
|
*.png = svn:mime-type=image/png
|
||
|
*.jpg = svn:mime-type=image/jpeg
|
||
|
*.jpeg = svn:mime-type=image/jpeg
|
||
|
*.ico = svn:mime-type=image/x-icon
|
||
|
|
||
|
#apache
|
||
|
.htaccess = svn:eol-style=native;svn:mime-type=text/plain;charset=utf-8;svn:keywords=Id
|
||
|
htaccess* = svn:eol-style=native;svn:mime-type=text/plain;charset=utf-8;svn:keywords=Id
|
||
|
|
||
|
#python
|
||
|
|
||
|
*.py = svn:eol-style=native;svn:executable;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|
||
|
|
||
|
# Web, XML
|
||
|
|
||
|
*.htm = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/html;charset=utf-8
|
||
|
*.html = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/html;charset=utf-8
|
||
|
*.js = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/javascript;charset=utf-8
|
||
|
*.css = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/css;charset=utf-8
|
||
|
*.xml = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/xml;charset=utf-8
|
||
|
|
||
|
#SQL
|
||
|
*.sql = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|
||
|
|
||
|
# JAVA
|
||
|
|
||
|
*.java = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|
||
|
|
||
|
|
||
|
# others
|
||
|
|
||
|
*.doc = svn:mime-type=application/msword
|
||
|
*.pdf = svn:mime-type=application/pdf
|
||
|
INSTALL = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|
||
|
README* = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|
||
|
BUGS* = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|
||
|
*.conf = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|
||
|
*.dist = svn:eol-style=native;svn:keywords=Id;svn:mime-type=text/plain;charset=utf-8
|