When I try to commit a file in a SVN 1.8 repository I get an annoying and wrong "Commit failed with errors" message popup. The weird thing is that the file is committed but the messages window displays a "Error: Wrong committed revision number: -1". When I check the history of the file, everything is correct and the last version has a version number.
Linux guys who wants to use this do the following:
Copy the file into /usr/bin and name it svn-en
Now open a shell and enter cd /usr/bin ; sudo chmod a+x svn-en
Last step start PhpStorm (or another IDE from Jetbrains) - Settings - Version Control - Subversion - Check "Use command line client" and type svn-en in there.
Try a commit and see it working
svn-en content
1 2 3 4 5 | #!/bin/bash
LC_TMP=$LC_MESSAGES
export LC_MESSAGES=en_US.UTF-8
svn "$@"
export LC_MESSAGES=$LC_TMP
|
Comments
comments powered by Disqus