Chinaunix首页 | 论坛 | 博客
  • 博客访问: 376464
  • 博文数量: 32
  • 博客积分: 8046
  • 博客等级: 中将
  • 技术积分: 1665
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-01 22:18
文章分类
文章存档

2011年(4)

2010年(13)

2009年(13)

2008年(2)

我的朋友

分类:

2010-07-09 16:51:55

1.右键->TortoiseSvn->Settings->编辑设置文件

2.去掉 no-unlock = yes (每次提交不自动锁定)和 enable-auto-props = yes(开启自动属性功能) 的注释

3.在config文件的最后加上:
* = svn:needs-lock=x
*.css = svn:keywords=Id ;svn:eol-style=native
*.php = svn:keywords=Id ;svn:eol-style=native
*.html = svn:keywords=Id ;svn:eol-style=native
*.js = svn:keywords=Id ;svn:eol-style=native
*.txt = svn:keywords=Id ;svn:eol-style=native
(说明:第一行为自动为每一个add的文件加上必须锁定的标记,后面几行的功能是,自动替换文件中以“$Id xxx$”字样成每次提交的svn版本及用户信息等。)

4. global-ignores = Thumbs.db

阅读(887) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~