0
votes

Some of selected resources were not committed. svn: Commit failed (details follow): svn: 'pre-commit' hook failed with error output: **

I am trying to commit 2 jsp files from Eclips Helios.Its updated with lates Subversion updated verison & mylyn. Scratched google but nothing found. However this issue is only coming with some of comments but I can commit the file using other comments and some file can't. Only output given by the SVN commit is this.

Any help appriciated. Thanks in advance. Screen Shot Attached Below

SVN ERROR

1
Can you show your pre-commit hook script?Grant Thomas
where it resides.I dont know.Can u please put the pathSam....
You will find the hook scripts in the hooks folder in your repository (e.g. \\192.168.1.1\svn\projects\hooks)Steve
Actually I don't have to access to the repository path.SO I am unable to fetch the hook script. Any other solution.Sam....

1 Answers

0
votes

Here is a possible workaround, if you really don't have access to the hooks dir: Try to sync your changed files with the original (repository-stored ones) files, and find such differences that should be protected by hook scripts:

  • jsp contains accented or non-supported special chars (try this first)
  • jsp contains illegal whitespace chars

etc. If you find some suspicious, remove it and commit the rest of the changes.