Mercurial > hg > mercurial-crew
changeset 28148:983e93d88193
pvec: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Dec 2015 21:32:58 -0800 |
parents | 62b1b6a89d2a |
children | 2df7f5c09c34 |
files | mercurial/pvec.py tests/test-check-py3-compat.t |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/pvec.py +++ b/mercurial/pvec.py @@ -48,8 +48,13 @@ different branches ''' -import base85, util -from node import nullrev +from __future__ import absolute_import + +from .node import nullrev +from . import ( + base85, + util, +) _size = 448 # 70 chars b85-encoded _bytes = _size / 8
--- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -117,7 +117,6 @@ mercurial/lsprofcalltree.py requires print_function mercurial/mail.py requires print_function mercurial/manifest.py not using absolute_import - mercurial/pvec.py not using absolute_import setup.py not using absolute_import tests/filterpyflakes.py requires print_function tests/generate-working-copy-states.py requires print_function