author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 11 Dec 2012 22:45:59 +0200 | |
changeset 604 | 5f619b86f997 |
parent 574 | c5fef529901d |
child 612 | 925bc5693e72 |
permissions | -rw-r--r-- |
117 | 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 |
### but Subversion will never save your password to disk in |
|
11 |
### plaintext unless you tell it to (see the 'servers' file). |
|
12 |
### Note that this option only prevents saving of *new* passwords; |
|
13 |
### it doesn't invalidate existing passwords. (To do that, remove |
|
14 |
### the cache files by hand as described in the Subversion book.) |
|
574
c5fef529901d
Enable storing passwords unsafe.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
15 |
store-passwords = yes |
117 | 16 |
### Set store-auth-creds to 'no' to avoid storing any subversion |
17 |
### credentials in the auth/ area of your config directory. |
|
18 |
### It defaults to 'yes'. Note that this option only prevents |
|
19 |
### saving of *new* credentials; it doesn't invalidate existing |
|
20 |
### caches. (To do that, remove the cache files by hand.) |
|
574
c5fef529901d
Enable storing passwords unsafe.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
21 |
store-auth-creds = yes |
117 | 22 |
|
23 |
### Section for configuring external helper applications. |
|
24 |
[helpers] |
|
604
5f619b86f997
Remove unused parts,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
574
diff
changeset
|
25 |
### Set editor to the command used to invoke your text editor. |
117 | 26 |
### This will override the environment variables that Subversion |
27 |
### examines by default to find this information ($EDITOR, |
|
28 |
### et al). |
|
29 |
# editor-cmd = editor (vi, emacs, notepad, etc.) |
|
30 |
### Set diff-cmd to the absolute path of your 'diff' program. |
|
31 |
### This will override the compile-time default, which is to use |
|
32 |
### Subversion's internal diff implementation. |
|
33 |
# diff-cmd = diff_program (diff, gdiff, etc.) |
|
34 |
### Set diff3-cmd to the absolute path of your 'diff3' program. |
|
35 |
### This will override the compile-time default, which is to use |
|
36 |
### Subversion's internal diff3 implementation. |
|
37 |
# diff3-cmd = diff3_program (diff3, gdiff3, etc.) |
|
38 |
### Set diff3-has-program-arg to 'yes' if your 'diff3' program |
|
39 |
### accepts the '--diff-program' option. |
|
40 |
# diff3-has-program-arg = [yes | no] |
|
41 |
### Set merge-tool-cmd to the command used to invoke your external |
|
42 |
### merging tool of choice. Subversion will pass 4 arguments to |
|
43 |
### the specified command: base theirs mine merged |
|
44 |
# merge-tool-cmd = merge_command |
|
45 |
||
46 |
### Section for configuring tunnel agents. |
|
47 |
[tunnels] |
|
48 |
### Configure svn protocol tunnel schemes here. By default, only |
|
49 |
### the 'ssh' scheme is defined. You can define other schemes to |
|
50 |
### be used with 'svn+scheme://hostname/path' URLs. A scheme |
|
51 |
### definition is simply a command, optionally prefixed by an |
|
52 |
### environment variable name which can override the command if it |
|
53 |
### is defined. The command (or environment variable) may contain |
|
54 |
### arguments, using standard shell quoting for arguments with |
|
55 |
### spaces. The command will be invoked as: |
|
56 |
### <command> <hostname> svnserve -t |
|
57 |
### (If the URL includes a username, then the hostname will be |
|
58 |
### passed to the tunnel agent as <user>@<hostname>.) If the |
|
59 |
### built-in ssh scheme were not predefined, it could be defined |
|
60 |
### as: |
|
61 |
# ssh = $SVN_SSH ssh -q |
|
62 |
### If you wanted to define a new 'rsh' scheme, to be used with |
|
63 |
### 'svn+rsh:' URLs, you could do so as follows: |
|
64 |
# rsh = rsh |
|
65 |
### Or, if you wanted to specify a full path and arguments: |
|
66 |
# rsh = /path/to/rsh -l myusername |
|
67 |
### On Windows, if you are specifying a full path to a command, |
|
68 |
### use a forward slash (/) or a paired backslash (\\) as the |
|
69 |
### path separator. A single backslash will be treated as an |
|
70 |
### escape for the following character. |
|
71 |
||
72 |
### Section for configuring miscelleneous Subversion options. |
|
73 |
[miscellany] |
|
74 |
### Set global-ignores to a set of whitespace-delimited globs |
|
75 |
### which Subversion will ignore in its 'status' output, and |
|
76 |
### while importing or adding files and directories. |
|
77 |
### '*' matches leading dots, e.g. '*.rej' matches '.foo.rej'. |
|
78 |
# global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo |
|
79 |
# *.rej *~ #*# .#* .*.swp .DS_Store |
|
80 |
### Set log-encoding to the default encoding for log messages |
|
81 |
# log-encoding = latin1 |
|
82 |
### Set use-commit-times to make checkout/update/switch/revert |
|
83 |
### put last-committed timestamps on every file touched. |
|
84 |
# use-commit-times = yes |
|
85 |
### Set no-unlock to prevent 'svn commit' from automatically |
|
86 |
### releasing locks on files. |
|
87 |
# no-unlock = yes |
|
88 |
### Set mime-types-file to a MIME type registry file, used to |
|
89 |
### provide hints to Subversion's MIME type auto-detection |
|
90 |
### algorithm. |
|
91 |
# mime-types-file = /path/to/mime.types |
|
92 |
### Set preserved-conflict-file-exts to a whitespace-delimited |
|
93 |
### list of patterns matching file extensions which should be |
|
94 |
### preserved in generated conflict file names. By default, |
|
95 |
### conflict files use custom extensions. |
|
96 |
# preserved-conflict-file-exts = doc ppt xls od? |
|
97 |
### Set enable-auto-props to 'yes' to enable automatic properties |
|
98 |
### for 'svn add' and 'svn import', it defaults to 'no'. |
|
99 |
### Automatic properties are defined in the section 'auto-props'. |
|
100 |
enable-auto-props = yes |
|
101 |
### Set interactive-conflicts to 'no' to disable interactive |
|
102 |
### conflict resolution prompting. It defaults to 'yes'. |
|
103 |
interactive-conflicts = no |
|
104 |
||
105 |
### Section for configuring automatic properties. |
|
106 |
[auto-props] |
|
107 |
### The format of the entries is: |
|
108 |
### file-name-pattern = propname[=value][;propname[=value]...] |
|
109 |
### The file-name-pattern can contain wildcards (such as '*' and |
|
110 |
### '?'). All entries which match (case-insensitively) will be |
|
111 |
### applied to the file. Note that auto-props functionality |
|
112 |
### must be enabled, which is typically done by setting the |
|
113 |
### 'enable-auto-props' option. |
|
114 |
*.c = svn:eol-style=native |
|
115 |
*.cpp = svn:eol-style=native |
|
116 |
*.cxx = svn:eol-style=native |
|
117 |
*.h = svn:eol-style=native |
|
118 |
*.s = svn:eol-style=native |
|
119 |
*.S = svn:eol-style=native |
|
183 | 120 |
*.java = svn:eol-style=native |
574
c5fef529901d
Enable storing passwords unsafe.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
183
diff
changeset
|
121 |
*.jsp = svn:eol-style=native |
183 | 122 |
*.js = svn:eol-style=native |
117 | 123 |
*.dsp = svn:eol-style=CRLF |
124 |
*.dsw = svn:eol-style=CRLF |
|
125 |
*.sh = svn:eol-style=LF;svn:executable |
|
126 |
*.txt = svn:eol-style=native |
|
127 |
# *.png = svn:mime-type=image/png |
|
128 |
# *.jpg = svn:mime-type=image/jpeg |
|
129 |
Makefile = svn:eol-style=native |
|
130 |
README = svn:eol-style=native |