Back to Top

How to fix Commit blocked by pre-commit hook

TortoiseSVN Error: Commit blocked by pre-commit hook

Recently, I have released new version of my one of the WordPress plugin and I wanted to upload my files using SVN and I am using tortoiseSVN to upload files to the WordPress repository and I just got unexpected error when trying to commit any file.

commit file SVN

Before that whenever I used tortoiseSVN, i didn’t get any such issues with it so it’s quite an unacceptable error and I was thinking that it is problem with installed tortoiseSVN and I just checked with WordPress support team and found the solution for the same.

The real problem is with the error message states the error: “Please provide the commit message that describes the changes you are making.”

Some time ago they changed Subversion to require making a commit message when committing code. Including messages with each commit has always been a requirement specified in the guidelines for the Plugins Directory, they’ve just now enforced it.

So just need to add a message describing the commit. Make it meaningful and not just something to have something.

Now try to commit file again with commit message and it works. I have learned new thing which I thought good to share with all of you so after following this post, you will not be confused with the TortoiseSVN error.


Thanks for reading and feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Comments (2)

  1. Thank you For providing this info ..nice info

  2. Thanks bro. You saved my time a lot. Great info.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

How to Create a Custom WordPress Widget

Posted on 6 years ago


PHP Error Reporting Levels

Posted on 7 years ago


How BlockChain and Ethereum works?

Posted on 1 year ago


The Reader’s Poll – June 2015

Posted on 3 years ago


The Reader’s Poll – August 2014

Posted on 4 years ago


The Reader’s Poll – June 2014

Posted on 5 years ago


The Readers’ Poll – May 2014

Posted on 5 years ago


The Readers’ Poll – August 2013

Posted on 5 years ago