| 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 |
#
|
| 7 |
# lives at: ~/.subversion/config
|
| 8 |
#
|
| 9 |
|
| 10 |
### Section for authentication and authorization customizations.
|
| 11 |
[auth]
|
| 12 |
### Set store-passwords to 'no' to avoid storing passwords in the
|
| 13 |
### auth/ area of your config directory. It defaults to 'yes'.
|
| 14 |
### Note that this option only prevents saving of *new* passwords;
|
| 15 |
### it doesn't invalidate existing passwords. (To do that, remove
|
| 16 |
### the cache files by hand as described in the Subversion book.)
|
| 17 |
# store-passwords = no
|
| 18 |
### Set store-auth-creds to 'no' to avoid storing any subversion
|
| 19 |
### credentials in the auth/ area of your config directory.
|
| 20 |
### It defaults to 'yes'. Note that this option only prevents
|
| 21 |
### saving of *new* credentials; it doesn't invalidate existing
|
| 22 |
### caches. (To do that, remove the cache files by hand.)
|
| 23 |
# store-auth-creds = no
|
| 24 |
|
| 25 |
### Section for configuring external helper applications.
|
| 26 |
[helpers]
|
| 27 |
### Set editor to the command used to invoke your text editor.
|
| 28 |
### This will override the environment variables that Subversion
|
| 29 |
### examines by default to find this information ($EDITOR,
|
| 30 |
### et al).
|
| 31 |
# editor-cmd = editor (vi, emacs, notepad, etc.)
|
| 32 |
### Set diff-cmd to the absolute path of your 'diff' program.
|
| 33 |
### This will override the compile-time default, which is to use
|
| 34 |
### Subversion's internal diff implementation.
|
| 35 |
# diff-cmd = diff_program (diff, gdiff, etc.)
|
| 36 |
### Set diff3-cmd to the absolute path of your 'diff3' program.
|
| 37 |
### This will override the compile-time default, which is to use
|
| 38 |
### Subversion's internal diff3 implementation.
|
| 39 |
# diff3-cmd = diff3_program (diff3, gdiff3, etc.)
|
| 40 |
### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3'
|
| 41 |
### program accepts the '--diff-program' option.
|
| 42 |
# diff3-has-program-arg = [true | false]
|
| 43 |
diff-cmd = /home/hulet/apps/svndiff.sh
|
| 44 |
#diff-cmd = echo
|
| 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
|
| 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 |
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store *.pyc
|
| 78 |
### Set log-encoding to the default encoding for log messages
|
| 79 |
# log-encoding = latin1
|
| 80 |
### Set use-commit-times to make checkout/update/switch/revert
|
| 81 |
### put last-committed timestamps on every file touched.
|
| 82 |
# use-commit-times = yes
|
| 83 |
### Set no-unlock to prevent 'svn commit' from automatically
|
| 84 |
### releasing locks on files.
|
| 85 |
# no-unlock = yes
|
| 86 |
### Set enable-auto-props to 'yes' to enable automatic properties
|
| 87 |
### for 'svn add' and 'svn import', it defaults to 'no'.
|
| 88 |
### Automatic properties are defined in the section 'auto-props'.
|
| 89 |
# enable-auto-props = yes
|
| 90 |
|
| 91 |
### Section for configuring automatic properties.
|
| 92 |
[auto-props]
|
| 93 |
### The format of the entries is:
|
| 94 |
### file-name-pattern = propname[=value][;propname[=value]...]
|
| 95 |
### The file-name-pattern can contain wildcards (such as '*' and
|
| 96 |
### '?'). All entries which match will be applied to the file.
|
| 97 |
### Note that auto-props functionality must be enabled, which
|
| 98 |
### is typically done by setting the 'enable-auto-props' option.
|
| 99 |
# *.c = svn:eol-style=native
|
| 100 |
# *.cpp = svn:eol-style=native
|
| 101 |
# *.h = svn:eol-style=native
|
| 102 |
# *.dsp = svn:eol-style=CRLF
|
| 103 |
# *.dsw = svn:eol-style=CRLF
|
| 104 |
# *.sh = svn:eol-style=native;svn:executable
|
| 105 |
# *.txt = svn:eol-style=native
|
| 106 |
# *.png = svn:mime-type=image/png
|
| 107 |
# *.jpg = svn:mime-type=image/jpeg
|
| 108 |
# Makefile = svn:eol-style=native
|
| 109 |
|