Mercurial > hgbook
diff en/hook.tex @ 155:914babdc99c8
run-example: better error if bogus section name found.
Fix all such bogus names in sources.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 12 Mar 2007 23:10:32 -0700 |
parents | 0707489b90fd |
children | 980393101109 |
line wrap: on
line diff
--- a/en/hook.tex Mon Mar 12 22:56:29 2007 -0700 +++ b/en/hook.tex Mon Mar 12 23:10:32 2007 -0700 @@ -435,14 +435,14 @@ \subsection{Writing meaningful commit messages} It's hard to imagine a useful commit message being very short. The -simple \hook{pretxncommit} hook of figure~\ref{ex:hook:msglen.run} +simple \hook{pretxncommit} hook of figure~\ref{ex:hook:msglen.go} will prevent you from committing a changeset with a message that is less than ten bytes long. \begin{figure}[ht] - \interaction{hook.msglen.run} + \interaction{hook.msglen.go} \caption{A hook that forbids overly short commit messages} - \label{ex:hook:msglen.run} + \label{ex:hook:msglen.go} \end{figure} \subsection{Checking for trailing whitespace}