简体   繁体   中英

svn: 'pre-commit' hook failed with error output:

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错误

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM