wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 15950
    
  19

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: 15950
    
  19

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.
 
Similar Threads
maven release build error
Subversion client for Linux needed
Unable to download spring example code
Subversion Error Enountered when committing
error in SVN