Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>SVN uses a <a href="http://www.visualsvn.com/support/svnbook/ref/reposhooks/" rel="noreferrer">number of hooks</a> to accomplish tasks like this.</p> <ul> <li><a href="http://www.visualsvn.com/support/svnbook/ref/reposhooks/start-commit/" rel="noreferrer"><code>start-commit</code></a> — run before commit transaction begins, can be used to do special permission checking</li> <li><a href="http://www.visualsvn.com/support/svnbook/ref/reposhooks/pre-commit/" rel="noreferrer"><code>pre-commit</code></a> — run at the end of the transaction, but before commit. Often used to validate things such as a non zero length log message.</li> <li><a href="http://www.visualsvn.com/support/svnbook/ref/reposhooks/post-commit/" rel="noreferrer"><code>post-commit</code></a> — runs after the transaction has been committed. Can be used for sending emails, or backing up repository.</li> <li><a href="http://www.visualsvn.com/support/svnbook/ref/reposhooks/pre-revprop-change/" rel="noreferrer"><code>pre-revprop-change</code></a> — runs before a revision property change. Can be used to check permissions.</li> <li><a href="http://www.visualsvn.com/support/svnbook/ref/reposhooks/post-revprop-change/" rel="noreferrer"><code>post-revprop-change</code></a> — runs after a revision property change. Can be used to email or backup these changes.</li> </ul> <p>You need to use the <code>pre-commit</code> hook. You can write it yourself in just about any language your platform supports, but there are a number of scripts on the web. Googling "svn precommit hook to require comment" I found a couple that looked like they would fit the bill:</p> <ul> <li><a href="http://www.stillnetstudios.com/2008/06/16/require-subversion-comments-minimum/" rel="noreferrer">Perl Script</a> </li> <li><a href="http://tarekziade.wordpress.com/2006/11/01/protecting-a-python-svn-code-base-with-the-pre-commit-hook/" rel="noreferrer">Python Script</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload