changeset 28562 | 2b585677220e |
parent 13878 | a8d13ee0ce68 |
child 39895 | 1a184b727aff |
28561:330584235c22 | 28562:2b585677220e |
---|---|
1 ''' |
1 ''' |
2 Examples of useful python hooks for Mercurial. |
2 Examples of useful python hooks for Mercurial. |
3 ''' |
3 ''' |
4 from mercurial import patch, util |
4 from __future__ import absolute_import |
5 from mercurial import ( |
|
6 patch, |
|
7 util, |
|
8 ) |
|
5 |
9 |
6 def diffstat(ui, repo, **kwargs): |
10 def diffstat(ui, repo, **kwargs): |
7 '''Example usage: |
11 '''Example usage: |
8 |
12 |
9 [hooks] |
13 [hooks] |