diff doc/hgrc.5.txt @ 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 9b52239dc740
children 98f2507c5551
line wrap: on
line diff
--- 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