Corrected documentation for return value of python hooks.
authorThomas Arendsen Hein <thomas@intevation.de>
Sun, 05 Nov 2006 21:57:52 +0100
changeset 3616 cf001fb04109
parent 3615 1d2fdea875bc
child 3617 638193139ba8
Corrected documentation for return value of python hooks.
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