Mercurial > hgbook
changeset 54:e94202d88199
Tix fypos.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 02 Aug 2006 13:08:56 -0700 |
parents | 0c998750744f |
children | 3f0176046fdc |
files | en/hook.tex |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/en/hook.tex Tue Aug 01 12:38:13 2006 -0700 +++ b/en/hook.tex Wed Aug 02 13:08:56 2006 -0700 @@ -151,7 +151,7 @@ \section{Using hooks with shared access to a repository} If you want to use hooks to so some automated work in a repository -that a number of people have ahred access to, you need to be careful +that a number of people have shared access to, you need to be careful in how you do this. Mercurial only locks a repository when it is writing to the @@ -177,7 +177,7 @@ (which contains pointers to the new manifest data). Before the first write to each file, it stores a record of where the end of the file was in its transaction log. If the transaction must be rolled back, -Mercurial simply truncates each file back to te size it was before the +Mercurial simply truncates each file back to the size it was before the transaction began. When Mercurial \emph{reads} metadata, it reads the changelog first, @@ -492,7 +492,7 @@ whitespace from a file. This is concise and useful enough that I will reproduce it here. \begin{codesample2} - perl -pi -e 's,\\s+$,,' filename + perl -pi -e 's,\\s+\$,,' filename \end{codesample2} \section{Bundled hooks} @@ -631,7 +631,7 @@ You can use this hook for the same purposes as the \hook{changegroup} hook (section~\ref{sec:hook:changegroup}); it's simply more convenient -sometimes to run a hook once per group of changesets, while othher +sometimes to run a hook once per group of changesets, while other times it's handier once per changeset. Parameters to this hook: