paloalto
2010-11-21 22:39:38 +08:00
问题解决了。
公司有个“192.168.1.16”服务器,还有个“192.168.1.18”服务器,我们的项目从16检出到18,工作环境就在18上。
刚才我进18里在etc/samba/smb.conf中加上了delete readonly = yes,然后再把18中我的工作目录挂载到mac上,然后:
hanjiyun:jxhuagong hanjiyun$ sudo chflags -R nouchg *
hanjiyun:jxhuagong hanjiyun$ svn cleanup
hanjiyun:jxhuagong hanjiyun$ svn up
结果就成功了。
搞半天是samba服务器那边的原因。
——————————————————————
从国外一个论坛找到的解决办法:
With my setup at home I have a virtual machine running Debian that has my development environment and code. I use samba to mount my working copy to OS X. Initially I had a bunch of issues trying to using my Mac subversion clients with this working copy. I kept getting the following error:
Can't move '/Volumes/samba_share/.svn/tmp/entries' to '/Volumes/samba_share/.svn/entries': Operation not permitted
I added "delete readonly = yes" to the global section of my smb.conf file and this solved the issue.