svn copy error: Entry has unexpectedly changed special status

来源:互联网 发布:wis水润面膜知乎 编辑:程序博客网 时间:2024/05/22 08:10

最近为项目做了一个自动编译脚本,但是在用svn打tag时却打印如下错误导致无法加tag.

svn copy -m "make a tag for trunk" gpon https://192.168.25.4/svn/GPON-subcard/tags/GPON_V1R0B1D20130106
svn: Entry 'gpon/kernel/include/asm' has unexpectedly changed special status

检查发现asm目录是在编译脚本中由ln -s include/asm-mips include/asm软链接生成的,并且每次脚本都会判断是否有asm目录,如果有则删除后再软链接生成,而服务器上却存在asm目录,导致每次编译时重新生成的asm内容和服务器上的不一致,因此出现上述问题。因此将服务器中的asm目录删除即可

原创粉丝点击