svn config 设置问题

9 views
Skip to first unread message

wanglei

unread,
Dec 30, 2009, 10:37:28 PM12/30/09
to fedo...@googlegroups.com, pyth...@googlegroups.com
我用的是linux,subversion 版本 1.6.6。

我想设置svn:keywords,使用 svn propset svn:keywords "Id" xxx.php 设置生效,但是我想设置整个项目的文件都设置 svn:keywords,在 ~/.subversion/config 文件中设置了:
enable-auto-props = yes 和

*.php = svn:keywords=Id
*.html = svn:keywords=Id
*.txt = svn:keywords=Id
但是不起作用。附件完整配置文件,有谁知道问题在哪里吗?

config

Zoom.Quiet

unread,
Dec 30, 2009, 10:43:52 PM12/30/09
to pyth...@googlegroups.com, fedo...@googlegroups.com
2009/12/31 wanglei <bwan...@gmail.com>:
Mage from hell: 使用svn的“属性”自动填写代码注释
http://blog.hellmage.info/2009/09/svn.html

和你的配置无关,对于已经检入的文件,SVN 不会自动重新绑定属性的,
你得批量配置一下...

--
http://zoomquiet.org 人生苦短? Pythonic!
向靠谱,反脑残! Kaopulity,小白退散! [Kaopulity~= Keep all processes usablity!]

wanglei

unread,
Dec 31, 2009, 12:33:28 AM12/31/09
to pyth...@googlegroups.com
�ţ���л�����л����������

find ./ -type f -name "*.py" | xargs svn propset svn:keywords "Author Date Revision HeadURL"

Zoom.Quiet said the following on 12/31/2009 11:43 AM http://fwanglei.appspot.com/ �:
> 2009/12/31 wanglei<bwan...@gmail.com>:
> Mage from hell: ʹ��svn�ġ����ԡ��Զ���д����ע��
> http://blog.hellmage.info/2009/09/svn.html
>
> ����������޹أ������Ѿ�������ļ���SVN �����Զ����°����Եģ�
> ����� ����һ��...
>

夏清然 Xia Qingran

unread,
Jan 3, 2010, 12:39:32 PM1/3/10
to pyth...@googlegroups.com
2009/12/31 wanglei <bwan...@gmail.com>:

这个是只在svn add的时候生效。


--
夏清然
Xia Qingran
qingr...@gmail.com
Sent from Beijing, 11, China
Jonathan Swift - "May you live every day of your life." -
http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html

Reply all
Reply to author
Forward
0 new messages