9 |
24 Feb 06 |
gregory |
### This file configures various client-side behaviors. |
9 |
24 Feb 06 |
gregory |
2 |
### |
9 |
24 Feb 06 |
gregory |
### The commented-out examples below are intended to demonstrate |
9 |
24 Feb 06 |
gregory |
### how to use this file. |
9 |
24 Feb 06 |
gregory |
5 |
|
9 |
24 Feb 06 |
gregory |
### Section for authentication and authorization customizations. |
9 |
24 Feb 06 |
gregory |
### Set store-auth-creds to 'no' to avoid storing your subversion |
9 |
24 Feb 06 |
gregory |
### credentials in the auth/ area of your config directory. |
9 |
24 Feb 06 |
gregory |
### It defaults to 'yes'. Note that this option only prevents |
9 |
24 Feb 06 |
gregory |
### saving of *new* credentials; it doesn't invalidate existing |
9 |
24 Feb 06 |
gregory |
### caches. (To do that, remove the cache files by hand.) |
9 |
24 Feb 06 |
gregory |
# [auth] |
9 |
24 Feb 06 |
gregory |
# store-auth-creds = no |
9 |
24 Feb 06 |
gregory |
14 |
|
9 |
24 Feb 06 |
gregory |
### Section for configuring external helper applications. |
9 |
24 Feb 06 |
gregory |
### Set editor to the command used to invoke your text editor. |
9 |
24 Feb 06 |
gregory |
### This will override the environment variables that Subversion |
9 |
24 Feb 06 |
gregory |
### examines by default to find this information ($EDITOR, |
9 |
24 Feb 06 |
gregory |
### et al). |
9 |
24 Feb 06 |
gregory |
### Set diff-cmd to the absolute path of your 'diff' program. |
9 |
24 Feb 06 |
gregory |
### This will override the compile-time default, which is to use |
9 |
24 Feb 06 |
gregory |
### Subversion's internal diff implementation. |
9 |
24 Feb 06 |
gregory |
### Set diff3-cmd to the absolute path of your 'diff3' program. |
9 |
24 Feb 06 |
gregory |
### This will override the compile-time default, which is to use |
9 |
24 Feb 06 |
gregory |
### Subversion's internal diff3 implementation. |
9 |
24 Feb 06 |
gregory |
### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3' |
9 |
24 Feb 06 |
gregory |
### program accepts the '--diff-program' option. |
9 |
24 Feb 06 |
gregory |
28 |
[helpers] |
9 |
24 Feb 06 |
gregory |
29 |
editor-cmd = vim -c 'set tw=72 et' |
9 |
24 Feb 06 |
gregory |
# diff-cmd = diff_program (diff, gdiff, etc.) |
9 |
24 Feb 06 |
gregory |
# diff3-cmd = diff3_program (diff3, gdiff3, etc.) |
9 |
24 Feb 06 |
gregory |
# diff3-has-program-arg = [true | false] |
9 |
24 Feb 06 |
gregory |
33 |
|
9 |
24 Feb 06 |
gregory |
### Section for configuring tunnel agents. |
9 |
24 Feb 06 |
gregory |
# [tunnels] |
9 |
24 Feb 06 |
gregory |
### Configure svn protocol tunnel schemes here. By default, only |
9 |
24 Feb 06 |
gregory |
### the 'ssh' scheme is defined. You can define other schemes to |
9 |
24 Feb 06 |
gregory |
### be used with 'svn+scheme://hostname/path' URLs. A scheme |
9 |
24 Feb 06 |
gregory |
### definition is simply a command, optionally prefixed by an |
9 |
24 Feb 06 |
gregory |
### environment variable name which can override the command if it |
9 |
24 Feb 06 |
gregory |
### is defined. The command (or environment variable) may contain |
9 |
24 Feb 06 |
gregory |
### arguments, using standard shell quoting for arguments with |
9 |
24 Feb 06 |
gregory |
### spaces. The command will be invoked as: |
9 |
24 Feb 06 |
gregory |
### <command> <hostname> svnserve -t |
9 |
24 Feb 06 |
gregory |
### (If the URL includes a username, then the hostname will be |
9 |
24 Feb 06 |
gregory |
### passed to the tunnel agent as <user>@<hostname>.) If the |
9 |
24 Feb 06 |
gregory |
### built-in ssh scheme were not predefined, it could be defined |
9 |
24 Feb 06 |
gregory |
### as: |
9 |
24 Feb 06 |
gregory |
# ssh = $SVN_SSH ssh |
9 |
24 Feb 06 |
gregory |
### If you wanted to define a new 'rsh' scheme, to be used with |
9 |
24 Feb 06 |
gregory |
### 'svn+rsh:' URLs, you could do so as follows: |
9 |
24 Feb 06 |
gregory |
# rsh = rsh |
9 |
24 Feb 06 |
gregory |
### Or, if you wanted to specify a full path and arguments: |
9 |
24 Feb 06 |
gregory |
# rsh = /path/to/rsh -l myusername |
9 |
24 Feb 06 |
gregory |
### On Windows, if you are specifying a full path to a command, |
9 |
24 Feb 06 |
gregory |
### use a forward slash (/) or a paired backslash (\\) as the |
9 |
24 Feb 06 |
gregory |
### path separator. A single backslash will be treated as an |
9 |
24 Feb 06 |
gregory |
### escape for the following character. |
9 |
24 Feb 06 |
gregory |
59 |
|
9 |
24 Feb 06 |
gregory |
### Section for configuring miscelleneous Subversion options. |
9 |
24 Feb 06 |
gregory |
61 |
[miscellany] |
9 |
24 Feb 06 |
gregory |
# recommended options |
9 |
24 Feb 06 |
gregory |
63 |
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store |
9 |
24 Feb 06 |
gregory |
64 |
use-commit-times = yes |
9 |
24 Feb 06 |
gregory |
# mandatory option |
9 |
24 Feb 06 |
gregory |
66 |
enable-auto-props = yes |
9 |
24 Feb 06 |
gregory |
# all auto-props setting below are mandatory |
9 |
24 Feb 06 |
gregory |
68 |
[auto-props] |
9 |
24 Feb 06 |
gregory |
69 |
*.c = svn:eol-style=native;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
70 |
*.cc = svn:eol-style=native;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
71 |
*.cpp = svn:eol-style=native;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
72 |
*.h = svn:eol-style=native;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
73 |
*.html = svn:eol-style=native;svn:keywords=Date Id |
9 |
24 Feb 06 |
gregory |
74 |
*.java = svn:eol-style=native;svn:keywords=Date Id |
9 |
24 Feb 06 |
gregory |
75 |
*.jar = svn:mime-type=application/x-java-archive |
9 |
24 Feb 06 |
gregory |
76 |
*.jsp = svn:eol-style=native;svn:keywords=Date Id |
9 |
24 Feb 06 |
gregory |
77 |
*.jpg = svn:mime-type=image/jpeg |
9 |
24 Feb 06 |
gregory |
78 |
*.pl = svn:eol-style=native;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
79 |
*.pm = svn:eol-style=native;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
80 |
*.png = svn:mime-type=image/png |
9 |
24 Feb 06 |
gregory |
81 |
*.sh = svn:eol-style=native;svn:executable;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
82 |
*.tex = svn:eol-style=native;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
83 |
*.txt = svn:eol-style=native;svn:keywords=Date Id |
9 |
24 Feb 06 |
gregory |
84 |
*.xml = svn:eol-style=native;svn:keywords=Date Id |
9 |
24 Feb 06 |
gregory |
85 |
*.xsd = svn:eol-style=native;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
86 |
configure.ac = svn:eol-style=native;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
87 |
Makefile = svn:eol-style=native;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
88 |
Makefile.am = svn:eol-style=native;svn:keywords=Id |
9 |
24 Feb 06 |
gregory |
89 |
|
9 |
24 Feb 06 |
gregory |
90 |
|