Linux下kdesvn提交更改时提示Entry for 'xxx' is marked as 'copied' but is not itself sched
问题:
在ubuntu 11.10中,使用kdesvn的copy功能为原来的目录做了备份,在备份目录中修改了源代码文件,然后提交更改时,kdesvn给出错误提示:
Entry for '~/hwsvn/2sw/1prj_linux/pdu/src/branches/pdu-isocket-dbg-wan' is marked as 'copied' but is not itself scheduled for addition. Perhaps you're committing a target that is inside an unversioned (or not-yet-versioned) directory?
解决办法:
1. 放狗搜,看到一种办法很有效:
a. 先把源代码的更改做个备份,将原目录删除;
实际操作中,直接将~/hwsvn/2sw/1prj_linux/pdu/src/branches/pdu-isocket-dbg-wan改为~/hwsvn/2sw/1prj_linux/pdu/src/branches/pdu-isocket-dbg-wan-bak;
b. kdesvn中提示~/hwsvn/2sw/1prj_linux/pdu/src/branches/pdu-isocket-dbg-wanmissing,使用update功能重新update出来;
c. 将源代码的改动重新反映到~/hwsvn/2sw/1prj_linux/pdu/src/branches/pdu-isocket-dbg-wan中;
d. 提交代码的更新;
这样就可以了。
问题解决。