SVN使用巡航控制提交

编程入门 行业动态 更新时间:2024-10-23 08:39:41
本文介绍了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使用巡航控制提交

本文发布于:2023-11-08 11:22:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1569230.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:SVN

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!