Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
first checkin of recommended subversion configuration to hanle automa…
…tically properties and mime types
- Loading branch information
1 parent
817b691
commit 25b44b146b5b8455a6d2e680addefc13b5356c17
Showing
1 changed file
with
217 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,217 @@ | ||
### 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. | ||
[helpers] | ||
### 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). | ||
# editor-cmd = editor (vi, emacs, notepad, etc.) | ||
### 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. | ||
# diff-cmd = diff_program (diff, gdiff, etc.) | ||
### 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. | ||
# diff3-cmd = diff3_program (diff3, gdiff3, etc.) | ||
### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3' | ||
### program accepts the '--diff-program' option. | ||
# diff3-has-program-arg = [true | false] | ||
|
||
### 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, and | ||
### while importing or adding files and directories. | ||
|
||
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store *.classpath *.project *.vlt | ||
|
||
### Set log-encoding to the default encoding for log messages | ||
log-encoding = latin1 | ||
|
||
### Set use-commit-times to make checkout/update/switch/revert | ||
### put last-committed timestamps on every file touched. | ||
# use-commit-times = yes | ||
|
||
### Set no-unlock to prevent 'svn commit' from automatically | ||
### releasing locks on files. | ||
# no-unlock = 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. | ||
[auto-props] | ||
### 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. | ||
|
||
### To enable tags to already committed files use: | ||
### $ svn propset svn:keywords Id "filename" | ||
|
||
*.pm = svn:keywords=Date Rev Author Id # Enable id for perl module files. | ||
*.pl = svn:keywords=Date Rev Author Id # Enable id for perl script files. | ||
*.t = svn:keywords=Date Rev Author Id # Enable id for perl test files. | ||
|
||
# *.c = svn:eol-style=native | ||
# *.cpp = svn:eol-style=native | ||
# *.h = svn:eol-style=native | ||
# *.dsp = svn:eol-style=CRLF | ||
# *.dsw = svn:eol-style=CRLF | ||
# *.sh = svn:eol-style=native;svn:executable | ||
# *.txt = svn:eol-style=native | ||
|
||
*.txt = svn:mime-type=text/plain | ||
*.html = svn:mime-type=text/html | ||
*.css = svn:mime-type=text/css | ||
|
||
*.png = svn:mime-type=image/png | ||
*.jpg = svn:mime-type=image/jpeg | ||
*.jpeg = svn:mime-type=image/jpeg | ||
*.tif = svn:mime-type=image/tiff | ||
*.tiff = svn:mime-type=image/tiff | ||
*.pdf = svn:mime-type=application/pdf | ||
|
||
### Adding keywords expansion on Java. | ||
*.java = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL | ||
*.jjw = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL | ||
*.apt = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL | ||
*.vm = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL | ||
|
||
### XML XmlSchema files. | ||
*.xml = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.wsdl = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.xsd = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.xsl = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.xslt = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
|
||
### Tex files. | ||
*.tex = svn:keywords=Date Rev Author Id | ||
|
||
# Makefile = svn:eol-style=native | ||
|
||
### List merged from www.apache.org/dev/ | ||
*.aart = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.bat = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.c = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.cat = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.cgi = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.classpath = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.cmd = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.cwiki = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.cpp = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.data = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.dcl = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.dsp = svn:eol-style=CRLF;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.dsw = svn:eol-style=CRLF;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.dtd = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.egrm = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.ent = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.ezt = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.gif = svn:mime-type=image/gif | ||
*.graffle = svn:mime-type=text/xml;svn:eol-style=native | ||
*.grm = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.g = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.h = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.hpp = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
.htaccess = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.htm = svn:eol-style=native;svn:mime-type=text/html;svn:keywords=Date Revision Author HeadURL Id | ||
*.html = svn:eol-style=native;svn:mime-type=text/html;svn:keywords=Date Revision Author HeadURL Id | ||
*.ihtml = svn:eol-style=native;svn:mime-type=text/html;svn:keywords=Date Revision Author HeadURL Id | ||
*.idl = svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.jpg = svn:mime-type=image/jpeg | ||
*.jpeg = svn:mime-type=image/jpeg | ||
*.js = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.jsf = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.jsp = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.junit = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
KEYS = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
Makefile = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
Makefile.in = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.mod = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
LICENSE = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
NOTICE = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.pen = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.pl = svn:eol-style=native;svn:executable;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.png = svn:mime-type=image/png | ||
*.pdf = svn:mime-type=application/pdf | ||
*.php = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.ps = svn:mime-type=application/pdf | ||
*.project = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.properties = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.py = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
README = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.rdf = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.rnc = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.rng = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.rnx = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.sh = svn:eol-style=native;svn:executable;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.svg = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.sln = svn:eol-style=CRLF;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.sql = svn:eol-style=native;svn:mime-type=application/sparql-query;svn:keywords=Date Revision Author HeadURL Id | ||
*.sparql = svn:eol-style=native;svn:mime-type=application/sparql-query;svn:keywords=Date Revision Author HeadURL Id | ||
*.svg = svn:mime-type=image/svg+xml;svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.tex = svn:eol-style=native;svn:mime-type=text/tex;svn:keywords=Date Revision Author HeadURL Id | ||
*.tld = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.txt = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
*.types = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.vcproj = svn:eol-style=native;svn:mime-type=text/xml;svn:keywords=Date Revision Author HeadURL Id | ||
*.xcat = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.xconf = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.xegrm = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.xgrm = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.xlex = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.xmap = svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id | ||
*.xsp = svn:eol-style=native;svn:mime-type=text/plain;svn:keywords=Date Revision Author HeadURL Id | ||
# xul should be: application/vnd.mozilla.xul+xml, but svn thinks it's binary then | ||
*.xul = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date Revision Author HeadURL Id |