SVN命令行操作

svn命令和git很像啊! ...

January 29, 2015 · 1 min · Me

File-already-exists--filesystem-解决办法

今天用svn命令行提交版本的时候,碰到了这个比较麻烦的问题 svn: File already exists: filesystem 'xxx/svn/xxx/db' 搜了一下解决办法,都是需要两次commit,太麻烦。 直接在提交根目录执行以下命令 svn update path/ --accept=mine-full 一句话解决!

December 3, 2014 · 1 min · Me

SVN预提交(Pre-Commit)钩子的利用

转自:http://java.dzone.com/articles/useful-subversion-pre-commit Checks whether the commit message is not empty Checks whether the commit message consists of at least 5 characters Checks if the committed files are UTF-8 compliant Checks whether the svn:eol-style property is set to LF on newly added files Checks if the committed files have no TAB characters The UTF-8 and TAB checks are performed on the following file suffixes *.java *.js *.xhtml *.css *.xml *....

December 2, 2014 · 3 min · Me

WIN下phpstorm不能检出svn的问题

今天使用win上的phpstrom发现不能检出svn服务器上的文件,折腾了一番才发现原来是svn设置问题。 解决办法: 进入settings 按照下图设置: 这里我们指定了svn的命令行路径,CollabNet\Subversion Client是CollabNet出的svn客户端命令行工具,换成其他的也可以,只要路径指定正确就行。 附下载地址: 支持各种系统的svn 推荐visualsvn

October 21, 2014 · 1 min · Me