hgbook
diff en/hook.tex @ 461:67d34d8b6ba0
translated up to the "writing an in-process hook" section
author | Javier Rojas <jerojasro@devnull.li> |
---|---|
date | Tue Dec 23 12:57:21 2008 -0500 (2008-12-23) |
parents | 814698eebbaf |
children | 97e929385442 |
line diff
1.1 --- a/en/hook.tex Fri Jan 04 22:09:00 2008 +0100 1.2 +++ b/en/hook.tex Tue Dec 23 12:57:21 2008 -0500 1.3 @@ -241,7 +241,7 @@ 1.4 \end{figure} 1.5 1.6 All hooks follow the pattern in example~\ref{ex:hook:init}. You add 1.7 -an entry to the \rcsection{hooks} section of your \hgrc\. On the left 1.8 +an entry to the \rcsection{hooks} section of your \hgrc. On the left 1.9 is the name of the event to trigger on; on the right is the action to 1.10 take. As you can see, you can run an arbitrary shell command in a 1.11 hook. Mercurial passes extra information to the hook using