# HG changeset patch # User Gregory Szorc # Date 1450761597 28800 # Node ID 509159675cdb4be66b5586a59579e5e8d427ea26 # Parent 3ce1d50daa99d5e23e6fd0de4cfa6bad4fca769a store: use absolute_import diff -r 3ce1d50daa99 -r 509159675cdb mercurial/store.py --- a/mercurial/store.py Mon Dec 21 21:33:27 2015 -0800 +++ b/mercurial/store.py Mon Dec 21 21:19:57 2015 -0800 @@ -5,9 +5,19 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from i18n import _ -import scmutil, util, parsers, error -import os, stat, errno +from __future__ import absolute_import + +import errno +import os +import stat + +from .i18n import _ +from . import ( + error, + parsers, + scmutil, + util, +) _sha = util.sha1 diff -r 3ce1d50daa99 -r 509159675cdb tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t Mon Dec 21 21:33:27 2015 -0800 +++ b/tests/test-check-py3-compat.t Mon Dec 21 21:19:57 2015 -0800 @@ -124,7 +124,6 @@ mercurial/scmposix.py not using absolute_import mercurial/scmutil.py not using absolute_import mercurial/scmwindows.py not using absolute_import - mercurial/store.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