aspose file tools*
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
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: 16145
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
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: 16145
    
  21

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.
 
Don't get me started about those stupid light bulbs.
 
subject: SVN commit error.