Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dirstate.py @ 27503:0f4596622273
dirstate: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Dec 2015 21:38:53 -0800 |
parents | 425dc70037f7 |
children | 714849ba7836 |
line wrap: on
line diff
--- a/mercurial/dirstate.py Mon Dec 21 21:35:46 2015 -0800 +++ b/mercurial/dirstate.py Mon Dec 21 21:38:53 2015 -0800 @@ -5,11 +5,24 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from node import nullid -from i18n import _ -import scmutil, util, osutil, parsers, encoding, pathutil, error -import os, stat, errno -import match as matchmod +from __future__ import absolute_import + +import errno +import os +import stat + +from .i18n import _ +from .node import nullid +from . import ( + encoding, + error, + match as matchmod, + osutil, + parsers, + pathutil, + scmutil, + util, +) propertycache = util.propertycache filecache = scmutil.filecache