<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[在SVN中实现$Id$的自动替换，mac下设置svn关键词自动替换。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Tue, 07 Apr 2015 01:26:12 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	背景：有人在群里问，打扰下，请教一个问题，mac下设置svn关键词自动替换，为啥不生效那？配置如下：<br/><textarea name="code" class="JS" rows="15" cols="100">
[miscellany]
enable-auto-props = yes
[auto-props]
*.* = svn:keywords=Id
</textarea><br/><br/>哪位大神遇到类似问题，麻烦指点下<br/>A:<br/>修改的svn配置文件为：~/.subversion/config<br/><br/>____________________________________<br/><br/>在SVN中实现$Id$的自动替换<br/><br/>一直知道SVN有个叫Id关键字可以自动替换成$Id: common.php 34 2012-04-01 08:35:01Z yubing $ 这样的形式.<br/><br/>操作步骤如下:<br/>&nbsp;&nbsp;&nbsp;&nbsp; 修改svn的config, 但这个不同的操作系统,放置的位置不一样<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Documents and Settings&#92;&#123;Windows 用户名&#125;&#92;Application Data&#92;Subversion&#92;config (WindosXP)<br/>&nbsp;&nbsp;&nbsp;&nbsp;C:&#92;Users&#92;&#123;Windows 用户名&#125;&#92;AppData&#92;Roaming&#92;Subversion&#92;config (Windows7)<br/>&nbsp;&nbsp;&nbsp;&nbsp;~/.subversion/config (*uix)<br/><br/>去掉config文件,中的下面一行注释<br/>&nbsp;&nbsp; enable-auto-props = yes<br/><br/>然后再加上下面这行就好了<br/>&nbsp;&nbsp;*.php = svn:keywords=Id<br/>&nbsp;&nbsp;*.js = svn:keywords=Id<br/><br/>以后包含在SVN里的文件,都会自动加上svn:keywords Id这个属性了.<br/><br/><br/>以前已经提交到svn的文件, 自动添加该属性需要执行下面的操作<br/>&nbsp;&nbsp;svn propset svn:keywords Id &lt;filename&gt;<br/><br/>摘自：http://blog.sina.com.cn/s/blog_467eb8ca01011vtx.html
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] 在SVN中实现$Id$的自动替换，mac下设置svn关键词自动替换。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>