Question

We have a thridparty repository where we have externalized all the third party libraries. From there, we pull these libraries to the server code repository.

Earlier, we had two versions of junit (4.10 and 4.11) which were externalized. I am working on a defect in which I want to unify the use of JUnit 4.11. So I removed the svn:external for JUnit 4.10

When I am commiting the updated svn:externals using TortoiseSVN, I am getting the following error.

Error: Commit failed (details follow): 
Error: At least one property change failed; repository is unchanged 
Error: Error setting property 'externals': 
Error: Could not execute PROPPATCH.

I have gone through a similar question : SVN: Error setting property 'log': Could not execute PROPPATCH but this din't really help.

Please let me know your inputs.

Was it helpful?

Solution

I was getting the following error in server logs :

Cannot accept non-LF line endings in 'svn:externals' property

It seems that since I am using TortoiseSVN for loading the properties through a text file, there were some invalid characters in that file.

To resolve the issue, I removed the single junit 4.10 SVN:externals entry from SVN properties displayed for the directory, instead of removing the line from text file and loading the file again.

OTHER TIPS

So first of all checking the error log on the server is likely to tell you exactly what the problem is. Based on your followup saying that you were receiving an error about non-LF line endings in the svn:externals property it's clear that the problem you are having is related to the requirement that all svn properties (those whose name starts with svn: be written in UTF-8 and lines be terminated with line feeds not carriage returns. Since 1.6.0 in reaction to Subversion issue 1796 this has been enforced on the server (the issue talks about svn:log but it applies to all properties starting with svn:). TortoiseSVN should be translating the line endings for you. Since it is not I would recommend that you first make sure you have the newest version of TortoiseSVN and if you do then report the bug to the users list for TortoiseSVN.

Go to Window -> Preferences -> Team -> SVN Change the SVN Interface Client as something like SVNKit version. You are done, you can put any no. of lines as you want. image here Thanks

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top