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.
the way i am doing is.
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...
thank u all.
regards. uday
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.
First delete:
svn delete myfile
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.