Error in SVN book, chapter 7: "Using external differencing tools"

C. Michael Pilato cmpilato at red-bean.com
Mon Jun 5 14:30:58 CDT 2006


Santeri Paavolainen wrote:
> From
> http://svnbook.red-bean.com/nightly/en/svn.advanced.externaldifftools.html:
> 
> "Finally, Subversion expects that your program return an errorcode of 0
> if your program detected differences, or 1 if it did not—-- any other
> errorcode is considered a fatal error. [41]"
> 
> Yet the footnote [41] and examples show exactly the opposite returnin an
> errorcode of 0 when *no* differences were detected and 1 when
> differences were detected.
> 
> This is from the nightly build version.
> 
> Suggested phrasing:
> 
> "Finally, Subversion expects that your program return an errorcode of 0
> if your program did not detect any differences, or 1 if it did --—any
> other errorcode is considered a fatal error."

Oops.  Yep, you're right.  Fixed in r2215.  Thanks!

-- 
C. Michael Pilato <cmpilato at red-bean.com>

"The Christian ideal has not been tried and found wanting.  It has
 been found difficult; and left untried."  -- G. K. Chesterton

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://www.red-bean.com/pipermail/svnbook-dev/attachments/20060605/ce486e5d/attachment-0001.sig>


More information about the svnbook-dev mailing list