# HG changeset patch # User Benoit Boissinot # Date 1238368899 -7200 # Node ID 62f11ef0df5b40d98341d5e9b699467b2fb507b5 # Parent 5a5396f4942015dfde8dd438740b4b13ef6f4ed0 Change wording in example hook diff -r 5a5396f49420 -r 62f11ef0df5b contrib/python-hook-examples.py --- a/contrib/python-hook-examples.py Thu Mar 26 16:49:47 2009 +0200 +++ b/contrib/python-hook-examples.py Mon Mar 30 01:21:39 2009 +0200 @@ -1,12 +1,10 @@ ''' -These are examples of useful hooks in Python for Mercurial. +Examples of useful python hooks for Mercurial. ''' - from mercurial import patch, util - def diffstat(ui, repo, **kwargs): - '''Use it like: + '''Example usage: [hooks] commit.diffstat = python:/path/to/this/file.py:diffstat