Mercurial > hgbook
changeset 254:7301e64c362e
Chris Mason's "rej" tool has been superseded by "mpatch", per David Rushby.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 30 May 2007 22:18:04 -0700 |
parents | bdd271cf1ae1 |
children | 9c49615e8dcb |
files | en/99book.bib en/mq.tex |
diffstat | 2 files changed, 10 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/en/99book.bib Wed May 30 22:05:35 2007 -0700 +++ b/en/99book.bib Wed May 30 22:18:04 2007 -0700 @@ -33,10 +33,10 @@ note = {\url{http://cyberelk.net/tim/patchutils/}}, } -@Misc{web:rej, +@Misc{web:mpatch, author = {Chris Mason}, - title = {\texttt{rej}--help solve patch rejects}, - note = {\url{http://oss.oracle.com/mercurial}}, + title = {\texttt{mpatch}--help solve patch rejects}, + note = {\url{http://oss.oracle.com/~mason/mpatch/}}, } @Misc{web:wiggle,
--- a/en/mq.tex Wed May 30 22:05:35 2007 -0700 +++ b/en/mq.tex Wed May 30 22:18:04 2007 -0700 @@ -591,10 +591,11 @@ vigorous than \command{patch} in its attempts to make a patch apply. Another Linux kernel hacker, Chris Mason (the author of Mercurial -Queues), wrote a similar tool called \command{rej}~\cite{web:rej}, -which takes a simple approach to automating the application of hunks -rejected by \command{patch}. \command{rej} can help with four common -reasons that a hunk may be rejected: +Queues), wrote a similar tool called +\command{mpatch}~\cite{web:mpatch}, which takes a simple approach to +automating the application of hunks rejected by \command{patch}. The +\command{mpatch} command can help with four common reasons that a hunk +may be rejected: \begin{itemize} \item The context in the middle of a hunk has changed. @@ -605,9 +606,9 @@ currently present in the file. \end{itemize} -If you use \command{wiggle} or \command{rej}, you should be doubly +If you use \command{wiggle} or \command{mpatch}, you should be doubly careful to check your results when you're done. In fact, -\command{rej} enforces this method of double-checking the tool's +\command{mpatch} enforces this method of double-checking the tool's output, by automatically dropping you into a merge program when it has done its job, so that you can verify its work and finish off any remaining merges.