config 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. ### Section for authentication and authorization customizations.
  6. [auth]
  7. ### Set password stores used by Subversion. They should be
  8. ### delimited by spaces or commas. The order of values determines
  9. ### the order in which password stores are used.
  10. ### Valid password stores:
  11. ### gnome-keyring (Unix-like systems)
  12. ### kwallet (Unix-like systems)
  13. ### gpg-agent (Unix-like systems)
  14. ### keychain (Mac OS X)
  15. ### windows-cryptoapi (Windows)
  16. # password-stores = keychain
  17. ### To disable all password stores, use an empty list:
  18. # password-stores =
  19. ###
  20. ### Set ssl-client-cert-file-prompt to 'yes' to cause the client
  21. ### to prompt for a path to a client cert file when the server
  22. ### requests a client cert but no client cert file is found in the
  23. ### expected place (see the 'ssl-client-cert-file' option in the
  24. ### 'servers' configuration file). Defaults to 'no'.
  25. # ssl-client-cert-file-prompt = no
  26. ###
  27. ### The rest of the [auth] section in this file has been deprecated.
  28. ### Both 'store-passwords' and 'store-auth-creds' can now be
  29. ### specified in the 'servers' file in your config directory
  30. ### and are documented there. Anything specified in this section
  31. ### is overridden by settings specified in the 'servers' file.
  32. # store-passwords = no
  33. # store-auth-creds = no
  34. ### Section for configuring external helper applications.
  35. [helpers]
  36. ### Set editor-cmd to the command used to invoke your text editor.
  37. ### This will override the environment variables that Subversion
  38. ### examines by default to find this information ($EDITOR,
  39. ### et al).
  40. # editor-cmd = editor (vi, emacs, notepad, etc.)
  41. ### Set diff-cmd to the absolute path of your 'diff' program.
  42. ### This will override the compile-time default, which is to use
  43. ### Subversion's internal diff implementation.
  44. # diff-cmd = diff_program (diff, gdiff, etc.)
  45. ### Diff-extensions are arguments passed to an external diff
  46. ### program or to Subversion's internal diff implementation.
  47. ### Set diff-extensions to override the default arguments ('-u').
  48. # diff-extensions = -u -p
  49. ### Set diff3-cmd to the absolute path of your 'diff3' program.
  50. ### This will override the compile-time default, which is to use
  51. ### Subversion's internal diff3 implementation.
  52. # diff3-cmd = diff3_program (diff3, gdiff3, etc.)
  53. ### Set diff3-has-program-arg to 'yes' if your 'diff3' program
  54. ### accepts the '--diff-program' option.
  55. # diff3-has-program-arg = [yes | no]
  56. ### Set merge-tool-cmd to the command used to invoke your external
  57. ### merging tool of choice. Subversion will pass 5 arguments to
  58. ### the specified command: base theirs mine merged wcfile
  59. # merge-tool-cmd = merge_command
  60. ### Section for configuring tunnel agents.
  61. [tunnels]
  62. ### Configure svn protocol tunnel schemes here. By default, only
  63. ### the 'ssh' scheme is defined. You can define other schemes to
  64. ### be used with 'svn+scheme://hostname/path' URLs. A scheme
  65. ### definition is simply a command, optionally prefixed by an
  66. ### environment variable name which can override the command if it
  67. ### is defined. The command (or environment variable) may contain
  68. ### arguments, using standard shell quoting for arguments with
  69. ### spaces. The command will be invoked as:
  70. ### <command> <hostname> svnserve -t
  71. ### (If the URL includes a username, then the hostname will be
  72. ### passed to the tunnel agent as <user>@<hostname>.) If the
  73. ### built-in ssh scheme were not predefined, it could be defined
  74. ### as:
  75. # ssh = $SVN_SSH ssh -q --
  76. ### If you wanted to define a new 'rsh' scheme, to be used with
  77. ### 'svn+rsh:' URLs, you could do so as follows:
  78. # rsh = rsh --
  79. ### Or, if you wanted to specify a full path and arguments:
  80. # rsh = /path/to/rsh -l myusername --
  81. ### On Windows, if you are specifying a full path to a command,
  82. ### use a forward slash (/) or a paired backslash (\\) as the
  83. ### path separator. A single backslash will be treated as an
  84. ### escape for the following character.
  85. ### Section for configuring miscellaneous Subversion options.
  86. [miscellany]
  87. ### Set global-ignores to a set of whitespace-delimited globs
  88. ### which Subversion will ignore in its 'status' output, and
  89. ### while importing or adding files and directories.
  90. ### '*' matches leading dots, e.g. '*.rej' matches '.foo.rej'.
  91. # global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__
  92. # *.rej *~ #*# .#* .*.swp .DS_Store [Tt]humbs.db
  93. ### Set log-encoding to the default encoding for log messages
  94. # log-encoding = latin1
  95. ### Set use-commit-times to make checkout/update/switch/revert
  96. ### put last-committed timestamps on every file touched.
  97. # use-commit-times = yes
  98. ### Set no-unlock to prevent 'svn commit' from automatically
  99. ### releasing locks on files.
  100. # no-unlock = yes
  101. ### Set mime-types-file to a MIME type registry file, used to
  102. ### provide hints to Subversion's MIME type auto-detection
  103. ### algorithm.
  104. # mime-types-file = /path/to/mime.types
  105. ### Set preserved-conflict-file-exts to a whitespace-delimited
  106. ### list of patterns matching file extensions which should be
  107. ### preserved in generated conflict file names. By default,
  108. ### conflict files use custom extensions.
  109. # preserved-conflict-file-exts = doc ppt xls od?
  110. ### Set enable-auto-props to 'yes' to enable automatic properties
  111. ### for 'svn add' and 'svn import', it defaults to 'no'.
  112. ### Automatic properties are defined in the section 'auto-props'.
  113. # enable-auto-props = yes
  114. ### Set interactive-conflicts to 'no' to disable interactive
  115. ### conflict resolution prompting. It defaults to 'yes'.
  116. # interactive-conflicts = no
  117. ### Set memory-cache-size to define the size of the memory cache
  118. ### used by the client when accessing a FSFS repository via
  119. ### ra_local (the file:// scheme). The value represents the number
  120. ### of MB used by the cache.
  121. # memory-cache-size = 16
  122. ### Set diff-ignore-content-type to 'yes' to cause 'svn diff' to
  123. ### attempt to show differences of all modified files regardless
  124. ### of their MIME content type. By default, Subversion will only
  125. ### attempt to show differences for files believed to have human-
  126. ### readable (non-binary) content. This option is especially
  127. ### useful when Subversion is configured (via the 'diff-cmd'
  128. ### option) to employ an external differencing tool which is able
  129. ### to show meaningful differences for binary file formats. [New
  130. ### in 1.9]
  131. # diff-ignore-content-type = no
  132. ### Section for configuring automatic properties.
  133. [auto-props]
  134. ### The format of the entries is:
  135. ### file-name-pattern = propname[=value][;propname[=value]...]
  136. ### The file-name-pattern can contain wildcards (such as '*' and
  137. ### '?'). All entries which match (case-insensitively) will be
  138. ### applied to the file. Note that auto-props functionality
  139. ### must be enabled, which is typically done by setting the
  140. ### 'enable-auto-props' option.
  141. # *.c = svn:eol-style=native
  142. # *.cpp = svn:eol-style=native
  143. # *.h = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
  144. # *.dsp = svn:eol-style=CRLF
  145. # *.dsw = svn:eol-style=CRLF
  146. # *.sh = svn:eol-style=native;svn:executable
  147. # *.txt = svn:eol-style=native;svn:keywords=Author Date Id Rev URL;
  148. # *.png = svn:mime-type=image/png
  149. # *.jpg = svn:mime-type=image/jpeg
  150. # Makefile = svn:eol-style=native
  151. ### Section for configuring working copies.
  152. [working-copy]
  153. ### Set to a list of the names of specific clients that should use
  154. ### exclusive SQLite locking of working copies. This increases the
  155. ### performance of the client but prevents concurrent access by
  156. ### other clients. Third-party clients may also support this
  157. ### option.
  158. ### Possible values:
  159. ### svn (the command line client)
  160. # exclusive-locking-clients =
  161. ### Set to true to enable exclusive SQLite locking of working
  162. ### copies by all clients using the 1.8 APIs. Enabling this may
  163. ### cause some clients to fail to work properly. This does not have
  164. ### to be set for exclusive-locking-clients to work.
  165. # exclusive-locking = false
  166. ### Set the SQLite busy timeout in milliseconds: the maximum time
  167. ### the client waits to get access to the SQLite database before
  168. ### returning an error. The default is 10000, i.e. 10 seconds.
  169. ### Longer values may be useful when exclusive locking is enabled.
  170. # busy-timeout = 10000