root/common/sys/subversion/config

Revision 111:103eba2f403a, 8.0 KB (checked in by Julien Muchembled, 3 months ago)
Line 
1### This file configures various client-side behaviors.
2###
3### The commented-out examples below are intended to demonstrate
4### how to use this file.
5
6### Section for authentication and authorization customizations.
7[auth]
8### Set store-passwords to 'no' to avoid storing passwords in the
9### auth/ area of your config directory.  It defaults to 'yes'.
10### Note that this option only prevents saving of *new* passwords;
11### it doesn't invalidate existing passwords.  (To do that, remove
12### the cache files by hand as described in the Subversion book.)
13# store-passwords = no
14### Set store-auth-creds to 'no' to avoid storing any subversion
15### credentials in the auth/ area of your config directory.
16### It defaults to 'yes'.  Note that this option only prevents
17### saving of *new* credentials;  it doesn't invalidate existing
18### caches.  (To do that, remove the cache files by hand.)
19# store-auth-creds = no
20
21### Section for configuring external helper applications.
22[helpers]
23### Set editor to the command used to invoke your text editor.
24###   This will override the environment variables that Subversion
25###   examines by default to find this information ($EDITOR,
26###   et al).
27# editor-cmd = editor (vi, emacs, notepad, etc.)
28### Set diff-cmd to the absolute path of your 'diff' program.
29###   This will override the compile-time default, which is to use
30###   Subversion's internal diff implementation.
31# diff-cmd = diff_program (diff, gdiff, etc.)
32### Set diff3-cmd to the absolute path of your 'diff3' program.
33###   This will override the compile-time default, which is to use
34###   Subversion's internal diff3 implementation.
35# diff3-cmd = diff3_program (diff3, gdiff3, etc.)
36### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3'
37###   program accepts the '--diff-program' option.
38# diff3-has-program-arg = [true | false]
39### Set merge-tool-cmd to the command used to invoke your external
40### merging tool of choice. Subversion will pass 4 arguments to
41### the specified command: base theirs mine merged
42# merge-tool-cmd = merge_command
43
44### Section for configuring tunnel agents.
45[tunnels]
46### Configure svn protocol tunnel schemes here.  By default, only
47### the 'ssh' scheme is defined.  You can define other schemes to
48### be used with 'svn+scheme://hostname/path' URLs.  A scheme
49### definition is simply a command, optionally prefixed by an
50### environment variable name which can override the command if it
51### is defined.  The command (or environment variable) may contain
52### arguments, using standard shell quoting for arguments with
53### spaces.  The command will be invoked as:
54###   <command> <hostname> svnserve -t
55### (If the URL includes a username, then the hostname will be
56### passed to the tunnel agent as <user>@<hostname>.)  Here we
57### redefine the built-in 'ssh' scheme to avoid an unfortunate
58### interaction with the "ControlMaster auto" feature (for
59### details, see Debian Bug #413102):
60ssh = $SVN_SSH ssh -o ControlMaster=no
61### If you wanted to define a new 'rsh' scheme, to be used with
62### 'svn+rsh:' URLs, you could do so as follows:
63# rsh = rsh
64### Or, if you wanted to specify a full path and arguments:
65# rsh = /path/to/rsh -l myusername
66### On Windows, if you are specifying a full path to a command,
67### use a forward slash (/) or a paired backslash (\\) as the
68### path separator.  A single backslash will be treated as an
69### escape for the following character.
70
71### Section for configuring miscelleneous Subversion options.
72[miscellany]
73### Set global-ignores to a set of whitespace-delimited globs
74### which Subversion will ignore in its 'status' output, and
75### while importing or adding files and directories.
76global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo
77 *.rej *~ #*# .#* .*.swp .DS_Store
78 *.ncb *.suo *.dsw *.dsp *.obj *.res *.ilk *.pdb
79 *.exe *.dll *.lib *.exp release debug BuildLog.htm
80 *.rar *.zip *.7z *.cab *.pdf *.ps *.avi *.mkv *.wav
81 *.lnk *.tmp *.orig CVS
82
83### Set log-encoding to the default encoding for log messages
84# log-encoding = latin1
85### Set use-commit-times to make checkout/update/switch/revert
86### put last-committed timestamps on every file touched.
87use-commit-times = yes
88### Set no-unlock to prevent 'svn commit' from automatically
89### releasing locks on files.
90# no-unlock = yes
91### Set mime-types-file to a MIME type registry file, used to
92### provide hints to Subversion's MIME type auto-detection
93### algorithm.
94# mime-types-file = /path/to/mime.types
95### Set preserved-conflict-file-exts to a whitespace-delimited
96### list of patterns matching file extensions which should be
97### preserved in generated conflict file names.  By default,
98### conflict files use custom extensions.
99# preserved-conflict-file-exts = doc ppt xls od?
100### Set enable-auto-props to 'yes' to enable automatic properties
101### for 'svn add' and 'svn import', it defaults to 'no'.
102### Automatic properties are defined in the section 'auto-props'.
103enable-auto-props = yes
104### Set interactive-conflicts to 'no' to disable interactive
105### conflict resolution prompting.  It defaults to 'yes'.
106# interactive-conflicts = no
107
108### Section for configuring automatic properties.
109[auto-props]
110### The format of the entries is:
111###   file-name-pattern = propname[=value][;propname[=value]...]
112### The file-name-pattern can contain wildcards (such as '*' and
113### '?').  All entries which match (case-insensitively) will be
114### applied to the file.  Note that auto-props functionality
115### must be enabled, which is typically done by setting the
116### 'enable-auto-props' option.
117*.in         = svn:eol-style=native
118*.inc        = svn:eol-style=native
119*.patch      = svn:eol-style=native
120*.java       = svn:eol-style=native
121*.js         = svn:eol-style=native
122*.sql        = svn:eol-style=native
123*.c          = svn:eol-style=native
124*.cpp        = svn:eol-style=native
125*.h          = svn:eol-style=native
126*.s          = svn:eol-style=native
127*.asm        = svn:eol-style=native
128*.conf       = svn:eol-style=native
129*.py         = svn:eol-style=native
130*.xml        = svn:eol-style=native;svn:mime-type=text/xml
131*.classpath  = svn:eol-style=native;svn:mime-type=text/xml
132*.project    = svn:eol-style=native;svn:mime-type=text/xml
133*.xsl        = svn:eol-style=native;svn:mime-type=text/xsl
134*.html       = svn:eol-style=native;svn:mime-type=text/html
135*.htm        = svn:eol-style=native;svn:mime-type=text/html
136*.css        = svn:eol-style=native;svn:mime-type=text/css
137*.vcproj     = svn:eol-style=CRLF;svn:mime-type=text/xml
138*.txt        = svn:eol-style=CRLF
139*.bat        = svn:eol-style=CRLF
140*.inf        = svn:eol-style=CRLF
141*.dsp        = svn:eol-style=CRLF
142*.dsw        = svn:eol-style=CRLF
143*.rc         = svn:eol-style=CRLF
144*.def        = svn:eol-style=CRLF
145*.pl         = svn:eol-style=LF;svn:executable;svn:mime-type=text/x-perl
146*.sh         = svn:eol-style=LF;svn:executable;svn:mime-type=text/x-sh
147*.png        = svn:needs-lock;svn:mime-type=image/png
148*.jpg        = svn:needs-lock;svn:mime-type=image/jpeg
149*.gif        = svn:needs-lock;svn:mime-type=image/gif
150*.tif        = svn:needs-lock;svn:mime-type=image/tiff
151*.bmp        = svn:needs-lock;svn:mime-type=image/bmp
152*.pdf        = svn:needs-lock;svn:mime-type=application/pdf
153*.zip        = svn:mime-type=application/zip
154*.jar        = svn:mime-type=application/zip
155*.sxw        = svn:mime-type=application/zip
156*.sxc        = svn:mime-type=application/zip
157*.sxi        = svn:mime-type=application/zip
158*.ttf        = svn:mime-type=application/octet-stream;svn:needs-lock
159*.bin        = svn:mime-type=application/octet-stream
160*.exe        = svn:mime-type=application/octet-stream
161*.dll        = svn:mime-type=application/octet-stream
162*.lib        = svn:mime-type=application/octet-stream
163*.exp        = svn:mime-type=application/octet-stream
164*.so         = svn:mime-type=application/octet-stream;svn:executable
165COPYING      = svn:eol-style=native;svn:needs-lock
166LICENSE      = svn:eol-style=native;svn:needs-lock
167AUTHORS      = svn:eol-style=native
168INSTALL      = svn:eol-style=native
169README       = svn:eol-style=native
170TODO         = svn:eol-style=native
171ChangeLog    = svn:eol-style=native
172Makefile     = svn:eol-style=LF
173configure    = svn:eol-style=LF;svn:executable
Note: See TracBrowser for help on using the browser.