zoukankan      html  css  js  c++  java
  • SVN基本配置文件

    SVN基本配置文件, 可以在本地打开SVN的设置界面如下:

       

    点击Edit按钮, 在弹出来的文本编辑器中把附件的内容全部复制并覆盖原本内容。

    ### This file configures various client-side behaviors.

    ###

    ### The commented-out examples below are intended to demonstrate

    ### how to use this file.

     

    ### Section for authentication and authorization customizations.

    [auth]

    ### Set password stores used by Subversion. They should be

    ### delimited by spaces or commas. The order of values determines

    ### the order in which password stores are used.

    ### Valid password stores:

    ### gnome-keyring (Unix-like systems)

    ### kwallet (Unix-like systems)

    ### keychain (Mac OS X)

    ### windows-cryptoapi (Windows)

    # password-stores = windows-cryptoapi

    ### To disable all password stores, use an empty list:

    # password-stores =

    ###

    ### The rest of the [auth] section in this file has been deprecated.

    ### Both 'store-passwords' and 'store-auth-creds' can now be

    ### specified in the 'servers' file in your config directory

    ### and are documented there. Anything specified in this section

    ### is overridden by settings specified in the 'servers' file.

    # store-passwords = no

    # store-auth-creds = no

     

    ### Section for configuring external helper applications.

    [helpers]

    ### Set editor-cmd to the command used to invoke your text editor.

    ### This will override the environment variables that Subversion

    ### examines by default to find this information ($EDITOR,

    ### et al).

    # editor-cmd = editor (vi, emacs, notepad, etc.)

    ### Set diff-cmd to the absolute path of your 'diff' program.

    ### This will override the compile-time default, which is to use

    ### Subversion's internal diff implementation.

    # diff-cmd = diff_program (diff, gdiff, etc.)

    ### Diff-extensions are arguments passed to an external diff

    ### program or to Subversion's internal diff implementation.

    ### Set diff-extensions to override the default arguments ('-u').

    # diff-extensions = -u -p

    ### Set diff3-cmd to the absolute path of your 'diff3' program.

    ### This will override the compile-time default, which is to use

    ### Subversion's internal diff3 implementation.

    # diff3-cmd = diff3_program (diff3, gdiff3, etc.)

    ### Set diff3-has-program-arg to 'yes' if your 'diff3' program

    ### accepts the '--diff-program' option.

    # diff3-has-program-arg = [yes | no]

    ### Set merge-tool-cmd to the command used to invoke your external

    ### merging tool of choice. Subversion will pass 5 arguments to

    ### the specified command: base theirs mine merged wcfile

    # merge-tool-cmd = merge_command

     

    ### Section for configuring tunnel agents.

    [tunnels]

    ### Configure svn protocol tunnel schemes here. By default, only

    ### the 'ssh' scheme is defined. You can define other schemes to

    ### be used with 'svn+scheme://hostname/path' URLs. A scheme

    ### definition is simply a command, optionally prefixed by an

    ### environment variable name which can override the command if it

    ### is defined. The command (or environment variable) may contain

    ### arguments, using standard shell quoting for arguments with

    ### spaces. The command will be invoked as:

    ### <command> <hostname> svnserve -t

    ### (If the URL includes a username, then the hostname will be

    ### passed to the tunnel agent as <user>@<hostname>.) If the

    ### built-in ssh scheme were not predefined, it could be defined

    ### as:

    # ssh = $SVN_SSH ssh -q

    ### If you wanted to define a new 'rsh' scheme, to be used with

    ### 'svn+rsh:' URLs, you could do so as follows:

    # rsh = rsh

    ### Or, if you wanted to specify a full path and arguments:

    # rsh = /path/to/rsh -l myusername

    ### On Windows, if you are specifying a full path to a command,

    ### use a forward slash (/) or a paired backslash (\) as the

    ### path separator. A single backslash will be treated as an

    ### escape for the following character.

     

    ### Section for configuring miscelleneous Subversion options.

    [miscellany]

    ### Set global-ignores to a set of whitespace-delimited globs

    ### which Subversion will ignore in its 'status' output, and

    ### while importing or adding files and directories.

    ### '*' matches leading dots, e.g. '*.rej' matches '.foo.rej'.

    # global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo

    # *.rej *~ #*# .#* .*.swp .DS_Store

    ### Set log-encoding to the default encoding for log messages

    # log-encoding = latin1

    ### Set use-commit-times to make checkout/update/switch/revert

    ### put last-committed timestamps on every file touched.

    # use-commit-times = yes

    ### Set no-unlock to prevent 'svn commit' from automatically

    ### releasing locks on files.

    # no-unlock = yes

    ### Set mime-types-file to a MIME type registry file, used to

    ### provide hints to Subversion's MIME type auto-detection

    ### algorithm.

    # mime-types-file = /path/to/mime.types

    ### Set preserved-conflict-file-exts to a whitespace-delimited

    ### list of patterns matching file extensions which should be

    ### preserved in generated conflict file names. By default,

    ### conflict files use custom extensions.

    # preserved-conflict-file-exts = doc ppt xls od?

    ### Set enable-auto-props to 'yes' to enable automatic properties

    ### for 'svn add' and 'svn import', it defaults to 'no'.

    ### Automatic properties are defined in the section 'auto-props'.

    enable-auto-props = yes

    ### Set interactive-conflicts to 'no' to disable interactive

    ### conflict resolution prompting. It defaults to 'yes'.

    # interactive-conflicts = no

    ### Set memory-cache-size to define the size of the memory cache

    ### used by the client when accessing a FSFS repository via

    ### ra_local (the file:// scheme). The value represents the number

    ### of MB used by the cache.

    # memory-cache-size = 16

     

    ### Section for configuring automatic properties.

    [auto-props]

    ### The format of the entries is:

    ### file-name-pattern = propname[=value][;propname[=value]...]

    ### The file-name-pattern can contain wildcards (such as '*' and

    ### '?'). All entries which match (case-insensitively) will be

    ### applied to the file. Note that auto-props functionality

    ### must be enabled, which is typically done by setting the

    ### 'enable-auto-props' option.

    # *.c = svn:eol-style=native

    # *.cpp = svn:eol-style=native

    # *.h = svn:keywords=Author Date Id Rev URL;svn:eol-style=native

    # *.dsp = svn:eol-style=CRLF

    # *.dsw = svn:eol-style=CRLF

    # *.sh = svn:eol-style=native;svn:executable

    # *.txt = svn:eol-style=native;svn:keywords=Author Date Id Rev URL;

    # *.png = svn:mime-type=image/png

    # *.jpg = svn:mime-type=image/jpeg

    # Makefile = svn:eol-style=native

    ##########################################################

    #*.bat    = svn:eol-style=CRLF; svn:executable

    #*.bin    = svn:mime-type=application/octet-stream

    #*.bmp    = svn:mime-type=image/bmp

    #*.bz2    = svn:mime-type=application/x-bzip2; svn:needs-lock

    #*.c    = svn:mime-type=text/plain; svn:eol-style=native; svn:keywords=Rev

    #*.class    = svn:mime-type=application/java

    #*.cmd    = svn:eol-style=CRLF; svn:executable; svn:mime-type=application/bat

    #*.cpp    = svn:eol-style=native; svn:keywords=Rev; svn:mime-type=text/plain

    *.cs    = svn:eol-style=CRLF; svn:needs-lock

    *.cshtml    = svn:eol-style=CRLF; svn:needs-lock

    *.csproj    = svn:eol-style=CRLF; svn:needs-lock

    *.sln    = svn:eol-style=CRLF; svn:needs-lock

    #*.css    = svn:mime-type=text/css;svn:eol-style=native

    #*.dll    = svn:mime-type=application/x-msdownload; svn:executable;

    *.doc    = svn:mime-type=application/msword; svn:needs-lock

    *.docm    = svn:mime-type=application/vnd.ms-word.document.macroEnabled.12; svn:needs-lock

    *.docx    = svn:mime-type=application/vnd.openxmlformats-officedocument.wordprocessingml.document; svn:needs-lock

    *.dot    = svn:mime-type=application/msword; svn:needs-lock

    *.dotm    = svn:mime-type=application/vnd.ms-word.template.macroEnabled.12; svn:needs-lock

    *.dotx    = svn:mime-type=application/vnd.openxmlformats-officedocument.wordprocessingml.template; svn:needs-lock

    #*.dsp    = svn:eol-style=CRLF

    #*.dsw    = svn:eol-style=CRLF

    #*.dtd    = svn:mime-type=text/plain;svn:eol-style=native

    #*.dvi    = svn:mime-type=application/x-dvi

    #*.ent    = svn:mime-type=text/plain;svn:eol-style=native

    #*.exe    = svn:mime-type=application/octet-stream; svn:executable

     

    #*.gif    = svn:mime-type=image/gif

    #*.gz    = svn:mime-type=application/x-gzip

    #*.h    = svn:eol-style=native; svn:keywords=Rev; svn:mime-type=text/plain

    #*.hpp    = svn:mime-type=text/plain; svn:eol-style=native;

    #*.htm    = svn:mime-type=text/html; svn:eol-style=native;

    #*.html    = svn:mime-type=text/html; svn:eol-style=native;

    #*.jar    = svn:mime-type=application/java-archive

    #*.java    = svn:mime-type=text/plain;svn:eol-style=native

    #*.jelly    = svn:mime-type=text/plain;svn:eol-style=native

    #*.jpg    = svn:mime-type=image/jpeg

    #*.jpeg    = svn:mime-type=image/jpeg

    #*.js    = svn:mime-type=application/x-javascript; svn:eol-style=native

    #*.jsp    = svn:mime-type=text/plain;svn:eol-style=native

    #*.mak    = svn:eol-style=native

    #*.mdb    = svn:mime-type=application/x-msaccess

    #*.mpp    = svn:mime-type=application/vnd.ms-project

    #*.msg    = svn:mime-type=application/vnd.ms-outlook

    #*.obj    = svn:mime-type=application/octet-stream

    #*.odb    = svn:mime-type=application/vnd.oasis.opendocument.database

    #*.odc    = svn:mime-type=application/vnd.oasis.opendocument.chart

    #*.odf    = svn:mime-type=application/vnd.oasis.opendocument.formula

    #*.odg    = svn:mime-type=application/vnd.oasis.opendocument.graphics

    #*.odi    = svn:mime-type=application/vnd.oasis.opendocument.image

    #*.odm    = svn:mime-type=application/vnd.oasis.opendocument.text-master

    #*.odp    = svn:mime-type=application/vnd.oasis.opendocument.presentation

    #*.ods    = svn:mime-type=application/vnd.oasis.opendocument.spreadsheet

    #*.odt    = svn:mime-type=application/vnd.oasis.opendocument.text

    #*.otg    = svn:mime-type=application/vnd.oasis.opendocument.graphics-template

    #*.oth    = svn:mime-type=application/vnd.oasis.opendocument.text-web

    #*.otp    = svn:mime-type=application/vnd.oasis.opendocument.presentation-template

    #*.ots    = svn:mime-type=application/vnd.oasis.opendocument.spreadsheet-template

    #*.ott    = svn:mime-type=application/vnd.oasis.opendocument.text-template

    #*.oxt    = svn:mime-type=application/vnd.openofficeorg.extension

    #*.pbm    = svn:mime-type=image/x-portable-bitmap

    #*.pdf    = svn:mime-type=application/pdf

    #*.pgm    = svn:mime-type=image/x-portable-graymap

    #*.png    = svn:mime-type=image/png

    #*.pnm    = svn:mime-type=image/x-portable-anymap

    *.pot    = svn:mime-type=application/vnd.ms-powerpoint

    *.potm    = svn:mime-type=application/vnd.ms-powerpoint.presentation.macroEnabled.12; svn:needs-lock

    *.potx    = svn:mime-type=application/vnd.openxmlformats-officedocument.presentationml.template; svn:needs-lock

    *.ppa    = svn:mime-type=application/vnd.ms-powerpoint; svn:needs-lock

    *.ppam    = svn:mime-type=application/vnd.ms-powerpoint.addin.macroEnabled.12; svn:needs-lock

    #*.ppm    = svn:mime-type=image/x-portable-pixmap

    *.pps    = svn:mime-type=application/vnd.ms-powerpoint; svn:needs-lock

    *.ppsm    = svn:mime-type=application/vnd.ms-powerpoint.slideshow.macroEnabled.12; svn:needs-lock

    *.ppsx    = svn:mime-type=application/vnd.openxmlformats-officedocument.presentationml.slideshow; svn:needs-lock

    *.ppt    = svn:mime-type=application/vnd.ms-powerpoint

    *.pptm    = svn:mime-type=application/vnd.ms-powerpoint.presentation.macroEnabled.1; svn:needs-lock

    *.pptx    = svn:mime-type=application/vnd.openxmlformats-officedocument.presentationml.presentation; svn:needs-lock

    #*.properties    = svn:mime-type=text/plain;svn:eol-style=native

    #*.ps    = svn:mime-type=application/postscript

    #*.pub    = svn:mime-type=application/x-mspublisher

    #*.py    = svn:executable

    #*.q    = svn:keywords=Rev

    #*.rtf    = svn:mime-type=application/rtf

    #*.sh    = svn:mime-type=application/x-sh; svn:executable

    #*.html    = svn:mime-type=text/html; svn:eol-style=native;

    #*.sldm    = svn:mime-type=application/vnd.ms-powerpoint.slide.macroEnabled.12; svn:needs-lock

    #*.sldx    = svn:mime-type=application/vnd.openxmlformats-officedocument.presentationml.slide; svn:needs-lock

    #*.sln    = svn:eol-style=CRLF

    #*.sql    = svn:mime-type=text/plain;svn:eol-style=native

    #*.svg    = svn:mime-type=image/svg+xml

    #*.tar    = svn:mime-type=application/x-tar

    #*.tex    = svn:mime-type=text/x-tex; svn:eol-style=native; svn:keywords=Rev

    #*.tgz    = svn:mime-type=application/x-compressed

    #*.tif    = svn:mime-type=image/tiff

    #*.tiff    = svn:mime-type=image/tiff

    #*.txt    = svn:eol-style=native; svn:mime-type=text/plain

    *.vcproj    = svn:eol-style=CRLF; svn:needs-lock

    *.vsd    = svn:mime-type=application/x-visio; svn:needs-lock

    *.vsdx    = svn:mime-type=application/x-visio; svn:needs-lock

    #*.vsl    = svn:mime-type=text/plain;svn:eol-style=native

    #*.vst    = svn:mime-type=application/x-visio; svn:needs-lock

    #*.vsw    = svn:mime-type=application/x-visio; svn:needs-lock

    #*.wsdl    = svn:mime-type=text/xml;svn:eol-style=native

    #*.xhtml    = svn:mime-type=application/xhtml+xml; svn:eol-style=native

    *.xla    = svn:mime-type=application/vnd.ms-excel

    *.xlam    = svn:mime-type=application/vnd.ms-excel.addin.macroEnabled.12; svn:needs-lock

    *.xlc    = svn:mime-type=application/vnd.ms-excel

    *.xlm    = svn:mime-type=application/vnd.ms-excel

    *.xls    = svn:mime-type=application/vnd.ms-excel; svn:needs-lock

    *.xlsb    = svn:mime-type=application/vnd.ms-excel.sheet.binary.macroEnabled.12; svn:needs-lock

    *.xlsm    = svn:mime-type=application/vnd.ms-excel.sheet.macroEnabled.12; svn:needs-lock

    *.xlsx    = svn:mime-type=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; svn:needs-lock

    *.xlt    = svn:mime-type=application/vnd.ms-excel

    *.xltm    = svn:mime-type=application/vnd.ms-excel.template.macroEnabled.12; svn:needs-lock

    *.xltx    = svn:mime-type=application/vnd.openxmlformats-officedocument.spreadsheetml.template; svn:needs-lock

    *.xlw    = svn:mime-type=application/vnd.ms-excel

    #*.xsd    = svn:mime-type=text/xml; svn:eol-style=native

    #*.xml    = svn:mime-type=text/xml; svn:eol-style=native

    #*.xsl    = svn:mime-type=text/xml; svn:eol-style=native

    #*.zip    = svn:mime-type=application/zip; svn:needs-lock

    ##########################################################

     

  • 相关阅读:
    Java中class的前面添加public和不添加public有什么区别?
    java中构造函数和一般函数的区别
    Java里的new
    【Python】正则表达式
    【Java】仿真qq尝试:用户注册(二)
    【Java】流与文件(端口 & 文件读写对象)
    【Java】仿真qq尝试:用户注册(一)
    【Java】仿真qq尝试:聊天界面 && 响应用户输入
    【JavaScript】canvas实现一个小游戏
    【JavaScript】键盘控制小球
  • 原文地址:https://www.cnblogs.com/yufan27209/p/5085512.html
Copyright © 2011-2022 走看看