一、报错Skipped ‘wechatnews’ – Node remains in conflict
[xingcheng@XdnwmfZ views]$ sudo svn update wechatnews
Skipped 'wechatnews' -- Node remains in conflict
Summary of conflicts:
Skipped paths: 1
[xingcheng@XdnwmfZ views]$ sudo svn remove --force wechatnews
D wechatnews
[xingcheng@XdnwmfZ views]$ sudo svn resolve --accept=working wechatnews
[xingcheng@XdnwmfZ views]$ sudo svn update wechatnews
Updating 'wechatnews':
A wechatnews
A wechatnews/index.volt
Updated to revision 6196.
解决办法:
#Skipped 'xx' -- Node remains in conflict 解决办法,支持目录
svn cleanup filename
svn revert filename
svn remove --force filename
svn resolve --accept=working filename
svn up
#此时如果还是报错,那么重复以上步骤。然后在客户端删除问题目录,提交到SVN。然后重新上传目录。之后update
参考链接:
http://yuncode.net/code/c_558cc8f46555048
二、SVN启动用户错误导致报错
1.can’t open file /data/svnroot/wechatbi/db/exn-current-lock':permission denied
其实这个问题是这样的。下面我举个例子:比如版本库SVN是root用户创建的但是启动服务的时候没有选择root启动,而是在其他用户转托管太下启动的,所以只能读不能写。
解决方法:
#停止svn服务:
killall svnserve
#在创建版本库的用户下启动svn :
svnserve -d -r /opt/....(你版本库的路径),如果是root用户 sudo svnserve -d -r /data/svnroot
——————————————————————————————————