我正在使用巡航控制来自动化svn提交过程。但是执行svn commit命令可以恢复我从工作副本中删除的文件。
i am using cruise control to automate the svn commit process. but the execution of svn commit command restores the files which i deleted from my working copy.
我的工作方式是
1. delete some files in my working copy.( no. of files in my WC is less than no. of files in repository) 2. execute svn command using cruise control. <exec executable="svn.exe"> <buildArgs>ci -m "test msg" --no-auth-cache --non-interactive</buildArgs> <buildTimeoutSeconds>1000</buildTimeoutSeconds> </exec> result: the deleted files are restored in my WC...有人可以帮我弄清楚我哪里出错了...或者如果我必须做一些更改/配置...
Can someone help me in figuring out where i have gone wrong... or if i have to do some changes / configurations...
谢谢大家。
致谢。 uday
regards. uday
推荐答案您需要告诉SVN,这些文件应从存储库中删除。 SVN认为文件应该仍然存在,因此正在将它们重新添加。
You need to tell SVN that these files should be deleted from the repository. SVN thinks that the files should still be there, so it is adding them back.
首次删除:
svn delete myfile当您调用svn delete时,这基本上是在安排时间要删除的文件(或目录)。您仍然必须致力于svn才能使更改实际发生。
When you call svn delete, this basically schedules the file (or directory) to be deleted. You still have to commit to svn for the changes to actually takeplace.
更多推荐
SVN使用巡航控制提交
发布评论