changeset 3616:cf001fb04109

Corrected documentation for return value of python hooks.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 05 Nov 2006 21:57:52 +0100
parents 1d2fdea875bc
children 638193139ba8
files doc/hgrc.5.txt
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/doc/hgrc.5.txt
+++ b/doc/hgrc.5.txt
@@ -303,9 +303,8 @@ hooks::
   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