changeset 45942 | 89a2afe31e82 |
parent 43076 | 2372284d9457 |
child 48875 | 6000f5b25c9b |
--- a/contrib/python-hook-examples.py Fri Nov 27 17:00:00 2020 -0500 +++ b/contrib/python-hook-examples.py Fri Nov 27 17:03:29 2020 -0500 @@ -9,12 +9,12 @@ def diffstat(ui, repo, **kwargs): - '''Example usage: + """Example usage: [hooks] commit.diffstat = python:/path/to/this/file.py:diffstat changegroup.diffstat = python:/path/to/this/file.py:diffstat - ''' + """ if kwargs.get('parent2'): return node = kwargs['node']