Mercurial > public > mercurial-scm > hg
diff mercurial/manifest.py @ 27502:2df7f5c09c34
manifest: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 21 Dec 2015 21:35:46 -0800 |
parents | f888676a23d0 |
children | 7297e9e13a8a |
line wrap: on
line diff
--- a/mercurial/manifest.py Mon Dec 21 21:32:58 2015 -0800 +++ b/mercurial/manifest.py Mon Dec 21 21:35:46 2015 -0800 @@ -5,11 +5,21 @@ # 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 mdiff, parsers, error, revlog, util -import array, struct +from __future__ import absolute_import + +import array +import heapq import os -import heapq +import struct + +from .i18n import _ +from . import ( + error, + mdiff, + parsers, + revlog, + util, +) propertycache = util.propertycache