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