##// END OF EJS Templates
py3: make eol use absolute_import
Pulkit Goyal -
r28969:cca011fd default
parent child Browse files
Show More
@@ -91,9 +91,18 b' See :hg:`help patterns` for more informa'
91 used.
91 used.
92 """
92 """
93
93
94 from __future__ import absolute_import
95
96 import os
97 import re
94 from mercurial.i18n import _
98 from mercurial.i18n import _
95 from mercurial import util, config, extensions, match, error
99 from mercurial import (
96 import re, os
100 config,
101 error,
102 extensions,
103 match,
104 util,
105 )
97
106
98 # Note for extension authors: ONLY specify testedwith = 'internal' for
107 # Note for extension authors: ONLY specify testedwith = 'internal' for
99 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
108 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
@@ -3,7 +3,6 b''
3 $ cd "$TESTDIR"/..
3 $ cd "$TESTDIR"/..
4
4
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 hgext/eol.py not using absolute_import
7 hgext/extdiff.py not using absolute_import
6 hgext/extdiff.py not using absolute_import
8 hgext/factotum.py not using absolute_import
7 hgext/factotum.py not using absolute_import
9 hgext/fetch.py not using absolute_import
8 hgext/fetch.py not using absolute_import
General Comments 0
You need to be logged in to leave comments. Login now