Subversion client config
来源:互联网 发布:oracle数据库查询工具 编辑:程序博客网 时间:2024/05/05 07:11
原文链接:GettingSourceCode
Subversion client config
Add this to your subversion client configuration file:
Note: make sure the settings are merged into the appropriate section if it already exists, as duplicate section names can cause problems.
Possible locations of your subversion client configuration
-
Windows: C:/Documents and Settings/yourname/Application Data/Subversion/config
-
Linux: ~/.subversion/config
Note: The names of svn keywords that are substituted in files may not match the SVN keywords in this config file. This is because a number of SVN keywords have alternate names that can be used. For example the "Revision" keyword may be specified as "Rev" and "LastChangedRevision" and can be used interchangably. This file uses the standard Subversion Keywords, not their alternate forms for clarity and consistency with the Subversion config files used by other ASF projects. This config file does not need to be changed to use the alternate forms for the alternate forms to be able to be used. For further information on Subversion keywords see http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.4.
-
[miscellany]global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store build dist targetenable-auto-props = yes[auto-props]*.c = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL*.cpp = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL*.h = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL*.dsp = svn:eol-style=CRLF*.dsw = svn:eol-style=CRLF*.sh = svn:executable;svn:eol-style=native;svn:keywords=Date Revision*.cmd = svn:mime-type=text/plain;svn:eol-style=CRLF*.bat = svn:mime-type=text/plain;svn:eol-style=CRLFMakefile = svn:eol-style=native;svn:keywords=Date Author Id Revision HeadURL*.obj = svn:mime-type=application/octet-stream*.bin = svn:mime-type=application/octet-stream*.bmp = svn:mime-type=image/bmp*.class = svn:mime-type=application/java*.doc = svn:mime-type=application/msword*.exe = svn:mime-type=application/octet-stream*.gif = svn:mime-type=image/gif*.gz = svn:mime-type=application/x-gzip*.jar = svn:mime-type=application/java-archive*.jelly = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Revision*.jpg = svn:mime-type=image/jpeg*.jpeg = svn:mime-type=image/jpeg*.pdf = svn:mime-type=application/pdf*.png = svn:mime-type=image/png*.tgz = svn:mime-type=application/octet-stream*.tif = svn:mime-type=image/tiff*.tiff = svn:mime-type=image/tiff*.zip = svn:mime-type=application/zip*.txt = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Revision*.xml = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date Revision*.ent = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Revision*.dtd = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Revision*.vsl = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Revision*.xsd = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date Revision*.xsl = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date Revision*.wsdl = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Date Revision*.htm = svn:mime-type=text/html;svn:eol-style=native;svn:keywords=Date Revision*.html = svn:mime-type=text/html;svn:eol-style=native;svn:keywords=Date Revision*.css = svn:mime-type=text/css;svn:eol-style=native;svn:keywords=Date Revision*.js = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Revision*.jsp = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Revision*.txt = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Revision*.java = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Revision*.properties = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Revision*.sql = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Date Revision
To verify the auto-props processing is working you can test adding a file without committing it (Windows example):
-
C:/geronimo>echo testdata>test-auto-props.xmlC:/geronimo>svn add test-auto-props.xmlA test-auto-props.xmlC:/geronimo>svn proplist test-auto-props.xmlProperties on 'test-auto-props.xml': svn:mime-type svn:keywords svn:eol-styleC:/geronimo>svn propget svn:mime-type test-auto-props.xmltext/xmlC:/geronimo>svn propget svn:keywords test-auto-props.xmlDate Author Id Revision HeadURLC:/geronimo>svn propget svn:eol-style test-auto-props.xmlnativeC:/geronimo>svn revert test-auto-props.xmlReverted 'test-auto-props.xml'C:/geronimo>del test-auto-props.xml
If you didn't get the results above, double check that the following line in the [miscellany] section is set and not commented out or set elsewhere.
-
enable-auto-props = yes
- Subversion client config
- Install Subversion client
- Subversive - Eclipse client for Subversion
- Enable https for Subversion client
- oracle client config..
- spring cloud 之 config-client
- Best subversion client for Mac OS
- Can't use Subversion command line client
- spring cloud config client 报错
- Can't use Subversion command line client:svn
- Install Subversion 1.8.9 ( SVN Client ) on CentOS/RHEL
- webstorm Can't use Subversion command line client: svn
- can't use subversion command line client : svn
- Can't use Subversion command line client: svn
- Netbeans Subversion 1.7 client …
- subversion(server)与TortoiseSVN(client)的安装与简单使用
- Python-Can't use Subversion command line client: svn
- svn:Can't use Subversion command line client
- DB2性能优化(一) 之 运行重组统计
- 人民币大写
- 产品类研发项目需要注意的几个问题
- JSP实例入门(二) 键值对
- C++ 的 website
- Subversion client config
- SQL Server 选取数据表的行作为列显示出来
- 任氏语录
- JavaScript封装的HashMap
- 手工清除病毒一例
- 永远的阳光女孩, Piggy 发于 2006-5-5
- 我是个java 的初学者,我有个问题要问大家。请帮帮忙!
- 万利达歌王DVD:两万首歌的储存方式
- 1st anniversary for my first job