Show More
@@ -1,7 +1,11 b'' | |||||
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: |
@@ -5,7 +5,6 b'' | |||||
5 | $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py |
|
5 | $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py | |
6 | contrib/import-checker.py not using absolute_import |
|
6 | contrib/import-checker.py not using absolute_import | |
7 | contrib/import-checker.py requires print_function |
|
7 | contrib/import-checker.py requires print_function | |
8 | contrib/python-hook-examples.py not using absolute_import |
|
|||
9 | contrib/revsetbenchmarks.py not using absolute_import |
|
8 | contrib/revsetbenchmarks.py not using absolute_import | |
10 | contrib/revsetbenchmarks.py requires print_function |
|
9 | contrib/revsetbenchmarks.py requires print_function | |
11 | contrib/synthrepo.py not using absolute_import |
|
10 | contrib/synthrepo.py not using absolute_import |
General Comments 0
You need to be logged in to leave comments.
Login now