hgbook
diff en/hook.tex @ 420:0774efad9003
translated up to section 4.4.1 (included). updated the project status file
author | Javier Rojas <jerojasro@devnull.li> |
---|---|
date | Sat Nov 15 20:04:33 2008 -0500 (2008-11-15) |
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 Sat Nov 15 20:04:33 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