This documentation was written to describe the 1.6.x series of Subversion. If you are running a different version of Subversion, you are strongly encouraged to visit http://www.svnbook.com/ and instead consult the version of this documentation appropriate for your version of Subversion.
post-commit — Notification of a successful commit.
The post-commit
hook is run after the
transaction is committed and a new revision is created. Most
people use this hook to send out descriptive emails about
the commit or to notify some other tool (such as an issue
tracker) that a commit has happened. Some configurations
also use this hook to trigger backup processes.
If the post-commit
hook returns a
nonzero exit status, the commit will
not be aborted since it has already
completed. However, anything that the hook printed
to stderr
will be marshalled back to the
client, making it easier to diagnose hook failures.