Subversion - SVN - Mark a file as an override

0

Gentlemen, I have the following situation.

I have a development environment. On it I run a script that versions the sources in my repository through linux contrab. It is a fully console interface and I can not use internet or download any other package, just the same SVN client.

The problem I have:

Through the development tool the user can execute / modify / create files / directory that the script takes care of it alone. The problem is when it deletes a file / directory and creates one in the same location with the same name. Ai stays with SVN Code of Til / Tilde (~). This is because the .svn files are currently deleted which prevents me from committing. I wanted to know if you have a way to solve this problem for me. Thank you guys

    
asked by anonymous 07.10.2015 / 21:04

1 answer

0

As far as I read, it means that an object of one type has been replaced by another of another type. Example A file that was named abcd was replaced by a directory called abcd. To fix the problem the best thing to do is rename the object that is giving problem, remove the abcd object from SVN with svn remove, commit to remove the object, rename the new object back to abcd, give a svn add to the object and commit a new commit. Then you will have a sequence of commits, one in which the object existed, another to remove the object, and the last to add the object in SVN again.

    
07.10.2015 / 21:16