hgbook
diff en/hook.tex @ 371:0801d625fabe
translated up to section 1.8
updated also the status of the project
updated also the status of the project
author | Javier Rojas <jerojasro@devnull.li> |
---|---|
date | Sun Oct 26 17:39:41 2008 -0500 (2008-10-26) |
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 Sun Oct 26 17:39:41 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