# HG changeset patch # User Thomas Arendsen Hein # Date 1162760272 -3600 # Node ID cf001fb04109a27e550e0f06d095d02dfad884bd # Parent 1d2fdea875bc3206906b6a9ba3c0a709c1808ff9 Corrected documentation for return value of python hooks. diff -r 1d2fdea875bc -r cf001fb04109 doc/hgrc.5.txt --- a/doc/hgrc.5.txt Thu Nov 02 19:23:55 2006 +0100 +++ b/doc/hgrc.5.txt Sun Nov 05 21:57:52 2006 +0100 @@ -303,9 +303,8 @@ environment variables above are passed as keyword arguments, with no "HG_" prefix, and names in lower case. - A Python hook must return a "true" value to succeed. Returning a - "false" value or raising an exception is treated as failure of the - hook. + If a Python hook returns a "true" value or raises an exception, this + is treated as failure of the hook. http_proxy:: Used to access web-based Mercurial repositories through a HTTP