SubversionSetup: config

File config, 5.9 kB (added by amit, 1 month ago)

Add an example subversion config file.

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 ### Set store-auth-creds to 'no' to avoid storing your subversion
8 ### credentials in the auth/ area of your config directory.
9 ### It defaults to 'yes'.  Note that this option only prevents
10 ### saving of *new* credentials;  it doesn't invalidate existing
11 ### caches.  (To do that, remove the cache files by hand.)
12 [auth]
13 store-auth-creds = yes
14 store-passwords = no
15
16 ### Section for configuring external helper applications.
17 ### Set editor to the command used to invoke your text editor.
18 ###   This will override the environment variables that Subversion
19 ###   examines by default to find this information ($EDITOR,
20 ###   et al).
21 ### Set diff-cmd to the absolute path of your 'diff' program.
22 ###   This will override the compile-time default, which is to use
23 ###   Subversion's internal diff implementation.
24 ### Set diff3-cmd to the absolute path of your 'diff3' program.
25 ###   This will override the compile-time default, which is to use
26 ###   Subversion's internal diff3 implementation.
27 ### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3'
28 ###   program accepts the '--diff-program' option.
29 [helpers]
30 editor-cmd = /usr/bin/vim
31 diff-cmd = /usr/bin/diff
32 diff3-cmd = /usr/bin/diff3
33 # diff3-has-program-arg = [true | false]
34
35 ### Section for configuring tunnel agents.
36 # [tunnels]
37 ### Configure svn protocol tunnel schemes here.  By default, only
38 ### the 'ssh' scheme is defined.  You can define other schemes to
39 ### be used with 'svn+scheme://hostname/path' URLs.  A scheme
40 ### definition is simply a command, optionally prefixed by an
41 ### environment variable name which can override the command if it
42 ### is defined.  The command (or environment variable) may contain
43 ### arguments, using standard shell quoting for arguments with
44 ### spaces.  The command will be invoked as:
45 ###   <command> <hostname> svnserve -t
46 ### (If the URL includes a username, then the hostname will be
47 ### passed to the tunnel agent as <user>@<hostname>.)  If the
48 ### built-in ssh scheme were not predefined, it could be defined
49 ### as:
50 # ssh = $SVN_SSH ssh
51 ### If you wanted to define a new 'rsh' scheme, to be used with
52 ### 'svn+rsh:' URLs, you could do so as follows:
53 # rsh = rsh
54 ### Or, if you wanted to specify a full path and arguments:
55 # rsh = /path/to/rsh -l myusername
56 ### On Windows, if you are specifying a full path to a command,
57 ### use a forward slash (/) or a paired backslash (\\) as the
58 ### path separator.  A single backslash will be treated as an
59 ### escape for the following character.
60
61 ### Section for configuring miscelleneous Subversion options.
62 [miscellany]
63 ### Set global-ignores to a set of whitespace-delimited globs
64 ### which Subversion will ignore in its 'status' output.
65 global-ignores = target *.class *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store tags .*.sw[ponm]
66 ### Set log-encoding to the default encoding for log messages
67 # log-encoding = latin1
68 ### Set use-commit-times to make checkout/update/switch/revert
69 ### put last-committed timestamps on every file touched.
70 # use-commit-times = yes
71 ### Set enable-auto-props to 'yes' to enable automatic properties
72 ### for 'svn add' and 'svn import', it defaults to 'no'.
73 ### Automatic properties are defined in the section 'auto-props'.
74 enable-auto-props = yes
75
76 ### Section for configuring automatic properties.
77 ### The format of the entries is:
78 ###   file-name-pattern = propname[=value][;propname[=value]...]
79 ### The file-name-pattern can contain wildcards (such as '*' and
80 ### '?').  All entries which match will be applied to the file.
81 ### Note that auto-props functionality must be enabled, which
82 ### is typically done by setting the 'enable-auto-props' option.
83 [auto-props]
84 *.h = svn:eol-style=native;svn:keywords=Id HeadURL Revision
85 *.c = svn:eol-style=native;svn:keywords=Id HeadURL Revision
86 *.cpp = svn:eol-style=native;svn:keywords=Id HeadURL Revision
87 *.java = svn:eol-style=native;svn:keywords=Id HeadURL Revision
88 *.py = svn:eol-style=native;svn:keywords=Id HeadURL Revision
89 *.pl = svn:eol-style=native;svn:keywords=Id HeadURL Revision
90 *.pm = svn:eol-style=native;svn:keywords=Id HeadURL Revision
91 *.html = svn:eol-style=native;svn:keywords=Id HeadURL Revision
92 *.txt = svn:eol-style=native;svn:keywords=Id HeadURL Revision
93 *.sql = svn:eol-style=native;svn:keywords=Id HeadURL Revision
94 *.css = svn:eol-style=native;svn:keywords=Id HeadURL Revision
95 *.jsp = svn:eol-style=native;svn:keywords=Id HeadURL Revision
96 *.js = svn:eol-style=native;svn:keywords=Id HeadURL Revision
97 *.ftl = svn:eol-style=native;svn:keywords=Id HeadURL Revision
98 *.xml = svn:eol-style=native;svn:keywords=Id HeadURL Revision
99 *.svg = svn:eol-style=native;svn:keywords=Id HeadURL Revision
100 *.dtd = svn:eol-style=native;svn:keywords=Id HeadURL Revision
101 *.xsd = svn:eol-style=native;svn:keywords=Id HeadURL Revision
102 *.xsl = svn:eol-style=native;svn:keywords=Id HeadURL Revision
103 *.xslt = svn:eol-style=native;svn:keywords=Id HeadURL Revision
104 *.wsdd = svn:eol-style=native;svn:keywords=Id HeadURL Revision
105 *.wsdl = svn:eol-style=native;svn:keywords=Id HeadURL Revision
106 *.rdf = svn:eol-style=native;svn:keywords=Id HeadURL Revision
107 *.owl = svn:eol-style=native;svn:keywords=Id HeadURL Revision
108 *.xmap = svn:eol-style=native;svn:keywords=Id HeadURL Revision
109 *.xconf = svn:eol-style=native;svn:keywords=Id HeadURL Revision
110 *.pom = svn:eol-style=native;svn:keywords=Id HeadURL Revision
111 *.ini = svn:eol-style=native;svn:keywords=Id HeadURL Revision
112 *.nsi = svn:eol-style=native;svn:keywords=Id HeadURL Revision
113 *.nsh = svn:eol-style=native;svn:keywords=Id HeadURL Revision
114 *.properties = svn:eol-style=native;svn:keywords=Id HeadURL Revision
115 *.exe = svn:executable
116 *.sh = svn:eol-style=native;svn:executable
117 *.bat = svn:eol-style=CRLF;svn:executable
118 *.png = svn:mime-type=image/png
119 *.jpg = svn:mime-type=image/jpeg
120 *.tif = svn:mime-type=image/tiff
121 *.ttf = svn:mime-type=application/x-font-ttf
122 Makefile = svn:eol-style=native