This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes SVN commit error. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "SVN commit error." Watch "SVN commit error." New topic
Author

SVN commit error.

J Bolla
Greenhorn

Joined: Nov 23, 2004
Posts: 17


Please tell me why this error occurs when I try to commit the code in svn.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17140
    
  27

Someone has defined a pre-commit hook, which is code that runs on the Subversion server before your changes are committed. Hooks like this are used to do things like enforce shop coding standards and refuse commits to offending code.

Apparently the pre-commit hook code that has been installed on your Subversion server has a bug in it.

You need to contact the Subversion administrator.


An IDE is no substitute for an Intelligent Developer.
J Bolla
Greenhorn

Joined: Nov 23, 2004
Posts: 17
Thanks Tim !
The log message that I entered for the commit was invalid. So the hook wouldnt let me commit.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17140
    
  27

J Bolla wrote:Thanks Tim !
The log message that I entered for the commit was invalid. So the hook wouldnt let me commit.


Yup, that's the kind of things hooks are supposed to enforce. I think that you probably SHOULD have gotten back an actual usable error message, though. Something like "Commit rejected, comment does not conform to shop standards.",

which is why I said there's probably a bug in the hook routine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SVN commit error.
 
jQuery in Action, 3rd edition