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