hgbook

diff en/hook.tex @ 230:f83281da4122

Add new commands for commands and options provided by extensions.
Should improve indexing a bit.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun May 27 09:39:27 2007 -0700 (2007-05-27)
parents 0707489b90fd
children 980393101109
line diff
     1.1 --- a/en/hook.tex	Mon Mar 05 20:16:36 2007 -0800
     1.2 +++ b/en/hook.tex	Sun May 27 09:39:27 2007 -0700
     1.3 @@ -435,14 +435,14 @@
     1.4  \subsection{Writing meaningful commit messages}
     1.5  
     1.6  It's hard to imagine a useful commit message being very short.  The
     1.7 -simple \hook{pretxncommit} hook of figure~\ref{ex:hook:msglen.run}
     1.8 +simple \hook{pretxncommit} hook of figure~\ref{ex:hook:msglen.go}
     1.9  will prevent you from committing a changeset with a message that is
    1.10  less than ten bytes long.
    1.11  
    1.12  \begin{figure}[ht]
    1.13 -  \interaction{hook.msglen.run}
    1.14 +  \interaction{hook.msglen.go}
    1.15    \caption{A hook that forbids overly short commit messages}
    1.16 -  \label{ex:hook:msglen.run}
    1.17 +  \label{ex:hook:msglen.go}
    1.18  \end{figure}
    1.19  
    1.20  \subsection{Checking for trailing whitespace}