[svnbook] r4423 committed - * en/book/ref-reposhooks.xml...

svnbook at googlecode.com svnbook at googlecode.com
Tue Feb 12 10:38:52 CST 2013


Revision: 4423
Author:   cmpilato at gmail.com
Date:     Tue Feb 12 08:38:43 2013
Log:      * en/book/ref-reposhooks.xml
   Add part intro.

http://code.google.com/p/svnbook/source/detail?r=4423

Modified:
  /trunk/en/book/ref-reposhooks.xml

=======================================
--- /trunk/en/book/ref-reposhooks.xml	Fri Feb  8 10:32:43 2013
+++ /trunk/en/book/ref-reposhooks.xml	Tue Feb 12 08:38:43 2013
@@ -3,7 +3,34 @@
  <reference id="svn.ref.reposhooks">
    <title>Subversion Repository Hook Reference</title>

-  <!-- ### TODO: partintro -->
+  <partintro>
+
+    <para>Subversion repositories provide a number of event hooks
+      which are essentially opportunities for administrators to extend
+      Subversion's functionality at key moments of key operations.
+      Repository hooks are implemented as programs executed by
+      Subversion itself at those key moments—before and after a
+      commit, before and after a user locks a file, and so on.</para>
+
+    <para>For each hook it provides, Subversion will attempt to
+      execute the program of that hook's name which is found in
+      the <filename>hooks/</filename> subdirectory of the repository's
+      on-disk directory structure.  For example, on a Unix system, the
+      start-commit hook script would be installed at
+       
<filename><replaceable>REPOS_PATH</replaceable>/hooks/start-commit</filename>,
+      where it could be a binary executable program, a shell script, a
+      Python program, etc.  On a Windows system, the program would be
+      installed in the same location, but would be
+      named <filename>START-COMMIT.EXE</filename>
+      or <filename>START-COMMIT.BAT</filename> instead of
+      simply <filename>start-commit</filename>.</para>
+
+    <para>This reference guide describes the various hooks which
+      Subversion offers to administrators, detailing when the hook is
+      invoked, its input parameters, and how its behavior affects the
+      Subversion workflow.</para>
+
+  </partintro>

    <!-- =================================================================  
-->
    <!-- =================================================================  
-->




More information about the svnbook-dev mailing list