diff doc/hgrc.5.txt @ 7916:f779e1996e23

ability to load hooks from arbitrary python module
author Alexander Solovyov <piranha@piranha.org.ua>
date Fri, 27 Mar 2009 01:28:09 +0200
parents 613f3c88a388
children 4f3fdfaa3874
line wrap: on
line diff
--- a/doc/hgrc.5.txt	Sun Mar 29 19:06:56 2009 +0200
+++ b/doc/hgrc.5.txt	Fri Mar 27 01:28:09 2009 +0200
@@ -475,6 +475,7 @@
   The syntax for Python hooks is as follows:
 
     hookname = python:modulename.submodule.callable
+    hookname = python:/path/to/python/module.py:callable
 
   Python hooks are run within the Mercurial process. Each hook is
   called with at least three keyword arguments: a ui object (keyword