SVN使用巡航控制提交 [英] SVN commit using cruise control

查看:79
本文介绍了SVN使用巡航控制提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用巡航控制来自动化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使用巡航控制提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆