config 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. ### Set store-auth-creds to 'no' to avoid storing your subversion
  7. ### credentials in the auth/ area of your config directory.
  8. ### It defaults to 'yes'. Note that this option only prevents
  9. ### saving of *new* credentials; it doesn't invalidate existing
  10. ### caches. (To do that, remove the cache files by hand.)
  11. # [auth]
  12. # store-auth-creds = no
  13. ### Section for configuring external helper applications.
  14. ### Set editor to the command used to invoke your text editor.
  15. ### This will override the environment variables that Subversion
  16. ### examines by default to find this information ($EDITOR,
  17. ### et al).
  18. ### Set diff-cmd to the absolute path of your 'diff' program.
  19. ### This will override the compile-time default, which is to use
  20. ### Subversion's internal diff implementation.
  21. ### Set diff3-cmd to the absolute path of your 'diff3' program.
  22. ### This will override the compile-time default, which is to use
  23. ### Subversion's internal diff3 implementation.
  24. ### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3'
  25. ### program accepts the '--diff-program' option.
  26. # [helpers]
  27. # editor-cmd = editor (vi, emacs, notepad, etc.)
  28. # diff-cmd = diff_program (diff, gdiff, etc.)
  29. # diff3-cmd = diff3_program (diff3, gdiff3, etc.)
  30. # diff3-has-program-arg = [true | false]
  31. ### Section for configuring tunnel agents.
  32. # [tunnels]
  33. ### Configure svn protocol tunnel schemes here. By default, only
  34. ### the 'ssh' scheme is defined. You can define other schemes to
  35. ### be used with 'svn+scheme://hostname/path' URLs. A scheme
  36. ### definition is simply a command, optionally prefixed by an
  37. ### environment variable name which can override the command if it
  38. ### is defined. The command (or environment variable) may contain
  39. ### arguments, using standard shell quoting for arguments with
  40. ### spaces. The command will be invoked as:
  41. ### <command> <hostname> svnserve -t
  42. ### (If the URL includes a username, then the hostname will be
  43. ### passed to the tunnel agent as <user>@<hostname>.) If the
  44. ### built-in ssh scheme were not predefined, it could be defined
  45. ### as:
  46. # ssh = $SVN_SSH ssh
  47. ### If you wanted to define a new 'rsh' scheme, to be used with
  48. ### 'svn+rsh:' URLs, you could do so as follows:
  49. # rsh = rsh
  50. ### Or, if you wanted to specify a full path and arguments:
  51. # rsh = /path/to/rsh -l myusername
  52. ### On Windows, if you are specifying a full path to a command,
  53. ### use a forward slash (/) or a paired backslash (\\) as the
  54. ### path separator. A single backslash will be treated as an
  55. ### escape for the following character.
  56. ### Section for configuring miscelleneous Subversion options.
  57. [miscellany]
  58. ### Set global-ignores to a set of whitespace-delimited globs
  59. ### which Subversion will ignore in its 'status' output.
  60. global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* *.class
  61. ### Set log-encoding to the default encoding for log messages
  62. # log-encoding = latin1
  63. ### Set use-commit-times to make checkout/update/switch/revert
  64. ### put last-committed timestamps on every file touched.
  65. # use-commit-times = yes
  66. ### Set enable-auto-props to 'yes' to enable automatic properties
  67. ### for 'svn add' and 'svn import', it defaults to 'no'.
  68. ### Automatic properties are defined in the section 'auto-props'.
  69. enable-auto-props = yes
  70. ### Section for configuring automatic properties.
  71. ### The format of the entries is:
  72. ### file-name-pattern = propname[=value][;propname[=value]...]
  73. ### The file-name-pattern can contain wildcards (such as '*' and
  74. ### '?'). All entries which match will be applied to the file.
  75. ### Note that auto-props functionality must be enabled, which
  76. ### is typically done by setting the 'enable-auto-props' option.
  77. [auto-props]
  78. *.java = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id
  79. *.sql = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id
  80. *.c = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id
  81. *.cpp = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id
  82. *.h = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id
  83. *.txt = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id
  84. *.sgml = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id
  85. *.properties = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id
  86. *.xml = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id
  87. *.classpath = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id
  88. *.project = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id
  89. *.sld = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id
  90. *.gml = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id
  91. *.xsl = svn:mime-type=text/xsl;svn:eol-style=native;svn:keywords=Id
  92. *.html = svn:mime-type=text/html;svn:eol-style=native;svn:keywords=Id
  93. *.css = svn:mime-type=text/css;svn:eol-style=native;svn:keywords=Id
  94. *.dsp = svn:eol-style=CRLF
  95. *.bat = svn:eol-style=CRLF
  96. *.dsw = svn:eol-style=CRLF
  97. *.sh = svn:eol-style=native;svn:executable;svn:keywords=Id
  98. *.png = svn:mime-type=image/png
  99. *.jpg = svn:mime-type=image/jpeg
  100. *.gif = svn:mime-type=image/gif
  101. *.tif = svn:mime-type=image/tiff
  102. *.zip = svn:mime-type=application/zip
  103. *.sxw = svn:mime-type=application/zip
  104. *.sxc = svn:mime-type=application/zip
  105. *.sxi = svn:mime-type=application/zip
  106. *.utf = svn:mime-type=application/octet-stream
  107. *.ttf = svn:mime-type=application/octet-stream
  108. *.shp = svn:mime-type=application/octet-stream
  109. *.shx = svn:mime-type=application/octet-stream
  110. *.dbf = svn:mime-type=application/octet-stream
  111. *.mif = svn:mime-type=application/octet-stream
  112. *.mid = svn:mime-type=application/octet-stream
  113. Makefile = svn:mime-type=text/plain;svn:eol-style=native
  114. README = svn:mime-type=text/plain;svn:eol-style=native