# HG changeset patch # User Taavi Burns # Date 1220199263 14400 # Node ID 97e929385442d9f39f6a5abc796f2d2156f35201 # Parent 1d277d6aa187917a667aa91fd0b11a054f73cfd5 Small typos, plus a perl regexp match. It was stripping newlines! diff -r 1d277d6aa187 -r 97e929385442 en/collab.tex --- a/en/collab.tex Tue Aug 26 14:14:24 2008 -0700 +++ b/en/collab.tex Sun Aug 31 12:14:23 2008 -0400 @@ -461,7 +461,7 @@ take a look at your system documentation to figure out how to install it. -On Windows, you'll first need to choose download a suitable ssh +On Windows, you'll first need to download a suitable ssh client. There are two alternatives. \begin{itemize} \item Simon Tatham's excellent PuTTY package~\cite{web:putty} provides @@ -495,7 +495,7 @@ When you generate a key pair, it's usually \emph{highly} advisable to protect it with a passphrase. (The only time that you might not want -to do this id when you're using the ssh protocol for automated tasks +to do this is when you're using the ssh protocol for automated tasks on a secure network.) Simply generating a key pair isn't enough, however. You'll need to @@ -737,7 +737,7 @@ named something like \dirname{public\_html} in their home directory, from which they can serve up web pages. A file named \filename{foo} in this directory will be accessible at a URL of the form -\texttt{http://www.example.com/\~username/foo}. +\texttt{http://www.example.com/\~{}username/foo}. To get started, find the \sfilename{hgweb.cgi} script that should be present in your Mercurial installation. If you can't quickly find a diff -r 1d277d6aa187 -r 97e929385442 en/concepts.tex --- a/en/concepts.tex Tue Aug 26 14:14:24 2008 -0700 +++ b/en/concepts.tex Sun Aug 31 12:14:23 2008 -0400 @@ -309,7 +309,7 @@ changesets to see which one introduced a bug. In cases like this, the natural thing to do is update the working directory to the changeset you're interested in, and then examine the files in the working -directory directly to see their contents as they werea when you +directory directly to see their contents as they were when you committed that changeset. The effect of this is shown in figure~\ref{fig:concepts:wdir-pre-branch}. diff -r 1d277d6aa187 -r 97e929385442 en/hook.tex --- a/en/hook.tex Tue Aug 26 14:14:24 2008 -0700 +++ b/en/hook.tex Sun Aug 31 12:14:23 2008 -0400 @@ -509,7 +509,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,[ \textbackslash{}t]+\$,,' filename \end{codesample2} \section{Bundled hooks} diff -r 1d277d6aa187 -r 97e929385442 en/mq-collab.tex --- a/en/mq-collab.tex Tue Aug 26 14:14:24 2008 -0700 +++ b/en/mq-collab.tex Sun Aug 31 12:14:23 2008 -0400 @@ -275,7 +275,7 @@ backports a piece of code to~2.6.9 will have a~\texttt{2.6.9} guard. \end{itemize} This variety of guards gives me considerable flexibility in -qdetermining what kind of source tree I want to end up with. For most +determining what kind of source tree I want to end up with. For most situations, the selection of appropriate guards is automated during the build process, but I can manually tune the guards to use for less common circumstances. diff -r 1d277d6aa187 -r 97e929385442 en/mq.tex --- a/en/mq.tex Tue Aug 26 14:14:24 2008 -0700 +++ b/en/mq.tex Sun Aug 31 12:14:23 2008 -0400 @@ -525,7 +525,7 @@ modifies \filename{foo} with six hunks, and one of them fails to apply, you will have: an unmodified \filename{foo.orig}, a \filename{foo.rej} containing one hunk, and \filename{foo}, containing -the changes made by the five successful five hunks. +the changes made by the five successful hunks. \subsection{Some quirks of patch representation} diff -r 1d277d6aa187 -r 97e929385442 en/template.tex --- a/en/template.tex Tue Aug 26 14:14:24 2008 -0700 +++ b/en/template.tex Sun Aug 31 12:14:23 2008 -0400 @@ -244,7 +244,7 @@ date using the same format used in email headers. Yields a string like ``\Verb+Mon, 04 Sep 2006 15:13:13 -0700+''. \item[\tplkwfilt{node}{short}] Changeset hash. Yield the short form - of a changeset hash, i.e.~a 12-byte hexadecimal string. + of a changeset hash, i.e.~a 12-character hexadecimal string. \item[\tplkwfilt{date}{shortdate}] \tplkword{date} keyword. Render the year, month, and day of the date. Yields a string like ``\Verb+2006-09-04+''. @@ -452,7 +452,7 @@ \item Subversion's output includes a count in the header of the number of lines in the commit message. We cannot replicate this in Mercurial; the templating engine does not currently provide a filter - that counts the number of items it is passed. + that counts the number of lines the template generates. \end{itemize} It took me no more than a minute or two of work to replace literal text from an example of Subversion's output with some keywords and