# HG changeset patch # User Bryan O'Sullivan # Date 1180588684 25200 # Node ID 7301e64c362ee150699c1049ddf11ceff2197562 # Parent bdd271cf1ae188bb7e1ffecb5fa2eaa3590d1c45 Chris Mason's "rej" tool has been superseded by "mpatch", per David Rushby. diff -r bdd271cf1ae1 -r 7301e64c362e en/99book.bib --- 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, diff -r bdd271cf1ae1 -r 7301e64c362e en/mq.tex --- 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.