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

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

?

时间: 2024-07-29 19:24:52

SVN基本配置文件的相关文章

eclipse中maven项目交付svn忽略配置文件

本文出处:http://blog.csdn.net/chaijunkun/article/details/34805385,转载请注明.由于本人不定期会整理相关博文,会对相应内容作出完善.因此强烈建议在原始出处查看此文. eclipse与maven插件的结合为我们快速搭建开发环境提供了便捷条件,然而maven编译出来的class文件.配置文件和打包文件实际上都不需要进行版本控制,团队中每个人的开发环境可能不太一样,将.settings目录和.project等文件同步到svn甚至还会引起冲突和不便

67. (待补)读写SVN密码配置文件,实现用户登录系统模块。

要求读写用户配置文件生成链表存储,完成匹配登录的功能. 我们所要读写的文件是,著名的版本管理控制软件 SVN 的配置文件,文件样式如下: 待补 原文地址:https://www.cnblogs.com/ZhuLuoJiGongYuan/p/9567540.html

eclipse 中SVN忽略配置文件

Linux下的SVN服务器搭建

鉴于在搭建时,参考网上很多资料,网上资料在有用的同时,也坑了很多人 本文的目的,也就是想让后继之人在搭建svn服务器时不再犯错,不再被网上漫天的坑爹作品所坑害,故此总结 /******开始*********/ 系统环境:Centos 6.5 第一步:通过yum命令安装svnserve,命令如下: >yum -y install  subversion 此命令会全自动安装svn服务器相关服务和依赖,安装完成会自动停止命令运行 若需查看svn安装位置,可以用以下命令: >rpm -ql subve

centos7.2 安装svn服务

简介 Subversion(SVN) 是一个开源的版本控制系統, 也就是说 Subversion 管理着随时间改变的数据.这些数据放置在一个中央资料档案库(repository) 中.这个档案库很像一个普通的文件服务器, 不过它会记住每一次文件的变动.这样你就可以把档案恢复到旧的版本, 或是浏览文件的变动历史. SVN 的一些概念: repository(源代码库):源代码统一存放的地方 Checkout(提取):当你手上没有源代码的时候,你需要从repository checkout一份 Co

阿里云中linux 下svn服务器安装

摘要: 安装步骤如下: 1.yum install subversion 2.输入rpm -ql subversion查看安装位置,如下图:   我们知道svn在bin目录下生成了几个二进制文件. 输入 svn --help可以查看svn的使用方法,如下图. 3.创建svn版本库目录 mkdir -p /var/ 安装步骤如下: 1.yum install subversion 2.输入rpm -ql subversion查看安装位置,如下图: 我们知道svn在bin目录下生成了几个二进制文件.

linux svn服务器1.0版

1.首先检查操作系统上面是否安装了subversion rpm -qa subversion 2.安装subversion yum -y install  subversion 3. 指定svn的数据存储路径 mkdir -p /application/svndata 4.指定svn的配置文件信息路径 mkdir -p /application/svnpasswd 5.启动svn服务 svnserve -d -r /application/svndata/ 6.创建zhibo版本库 svnadm

ubuntu 14.04 下svn + apache2 配置

1.svn的配置 sudo apt-get install subversion // 安装svn mkdir /home/svn // 创建仓库 svnadmin create /home/svn/repos // 该命令在根目录下执行 svnserve -d -r /home/svn //从这个目录下启动 这里方便起见,首先 通过TortoiseSVN客户端上传两个文件夹code和database ,在repos目录下 建立两个账户ycc 和 yzg 密码 均为123 cd /home/sv

linux(centos)搭建SVN服务器

    安装步骤如下: 1.yum install subversion 2.输入rpm -ql subversion查看安装位置,如下图: 可以看到 svn在bin目录下生成了几个二进制文件. 再输入/usr/bin/svnversion --version 就可以查看svn的版本,这样就说明svn安装成功,如下图: 3.创建svn版本库目录 mkdir -p /var/svn/svnrepos 4.创建版本库 svnadmin create /var/svn/svnrepos 执行了这个命令