Skip to content

Commit 98fb825

Browse files
committed
svn config file with proper mime types, etc
1 parent 0b956e0 commit 98fb825

File tree

2 files changed

+143
-0
lines changed

2 files changed

+143
-0
lines changed

svnconfig/README.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Install this as ~/.subversion/config

svnconfig/config

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
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+
### Set editor to the command used to invoke your text editor.
23+
### This will override the environment variables that Subversion
24+
### examines by default to find this information ($EDITOR,
25+
### et al).
26+
### Set diff-cmd to the absolute path of your 'diff' program.
27+
### This will override the compile-time default, which is to use
28+
### Subversion's internal diff implementation.
29+
### Set diff3-cmd to the absolute path of your 'diff3' program.
30+
### This will override the compile-time default, which is to use
31+
### Subversion's internal diff3 implementation.
32+
### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3'
33+
### program accepts the '--diff-program' option.
34+
# [helpers]
35+
# editor-cmd = editor (vi, emacs, notepad, etc.)
36+
# diff-cmd = diff_program (diff, gdiff, etc.)
37+
# diff3-cmd = diff3_program (diff3, gdiff3, etc.)
38+
# diff3-has-program-arg = [true | false]
39+
40+
### Section for configuring tunnel agents.
41+
# [tunnels]
42+
### Configure svn protocol tunnel schemes here. By default, only
43+
### the 'ssh' scheme is defined. You can define other schemes to
44+
### be used with 'svn+scheme://hostname/path' URLs. A scheme
45+
### definition is simply a command, optionally prefixed by an
46+
### environment variable name which can override the command if it
47+
### is defined. The command (or environment variable) may contain
48+
### arguments, using standard shell quoting for arguments with
49+
### spaces. The command will be invoked as:
50+
### <command> <hostname> svnserve -t
51+
### (If the URL includes a username, then the hostname will be
52+
### passed to the tunnel agent as <user>@<hostname>.) If the
53+
### built-in ssh scheme were not predefined, it could be defined
54+
### as:
55+
# ssh = $SVN_SSH ssh
56+
### If you wanted to define a new 'rsh' scheme, to be used with
57+
### 'svn+rsh:' URLs, you could do so as follows:
58+
# rsh = rsh
59+
### Or, if you wanted to specify a full path and arguments:
60+
# rsh = /path/to/rsh -l myusername
61+
### On Windows, if you are specifying a full path to a command,
62+
### use a forward slash (/) or a paired backslash (\\) as the
63+
### path separator. A single backslash will be treated as an
64+
### escape for the following character.
65+
66+
### Section for configuring miscelleneous Subversion options.
67+
[miscellany]
68+
69+
### Set global-ignores to a set of whitespace-delimited globs
70+
### which Subversion will ignore in its 'status' output.
71+
# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
72+
73+
### Set log-encoding to the default encoding for log messages
74+
# log-encoding = latin1
75+
76+
### Set use-commit-times to make checkout/update/switch/revert
77+
### put last-committed timestamps on every file touched.
78+
# use-commit-times = yes
79+
80+
### Set enable-auto-props to 'yes' to enable automatic properties
81+
### for 'svn add' and 'svn import', it defaults to 'no'.
82+
### Automatic properties are defined in the section 'auto-props'.
83+
enable-auto-props = yes
84+
85+
### Section for configuring automatic properties.
86+
### The format of the entries is:
87+
### file-name-pattern = propname[=value][;propname[=value]...]
88+
### The file-name-pattern can contain wildcards (such as '*' and
89+
### '?'). All entries which match will be applied to the file.
90+
### Note that auto-props functionality must be enabled, which
91+
### is typically done by setting the 'enable-auto-props' option.
92+
[auto-props]
93+
94+
# Scriptish formats
95+
*.bat = svn:keywords=Id Date Revision Author HeadURL;svn:svn:eol-style=native
96+
*.bsh = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-beanshell
97+
*.js = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/javascript
98+
*.php = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-php
99+
*.pl = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-perl;svn:executable
100+
*.pm = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-perl
101+
*.py = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-python;svn:executable
102+
*.sh = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-sh;svn:executable
103+
*.spec = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-sh
104+
105+
# Image formats
106+
*.bmp = svn:mime-type=image/bmp
107+
*.gif = svn:mime-type=image/gif
108+
*.ico = svn:mime-type=image/x-icon
109+
*.jpeg = svn:mime-type=image/jpeg
110+
*.jpg = svn:mime-type=image/jpeg
111+
*.png = svn:mime-type=image/png
112+
*.tif = svn:mime-type=image/tiff
113+
*.tiff = svn:mime-type=image/tiff
114+
115+
# Data formats
116+
*.pdf = svn:mime-type=application/pdf
117+
*.csv = svn:mime-type=text/csv
118+
119+
# Text formats
120+
*.css = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/css
121+
*.dtd = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/xml-dtd
122+
*.htm = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/html
123+
*.html = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/html
124+
*.sql = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-sql
125+
*.txt = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/plain
126+
*.tt = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-html+tt
127+
*.xhtml = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/xhtml+xml
128+
*.xml = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/xml
129+
*.xsl = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/xml
130+
INSTALL = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/plain
131+
Makefile = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/plain
132+
README = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/plain
133+
CHANGES = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/plain
134+
TODO = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/plain
135+
COPYING = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/plain
136+
137+
# Code formats
138+
*.c = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-csrc
139+
*.cpp = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-c++src
140+
*.h = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/x-csrc
141+
*.java = svn:keywords=Id Date Revision Author HeadURL;svn:eol-style=native;svn:mime-type=text/javasrc
142+

0 commit comments

Comments
 (0)