Mercurial > public > mercurial-scm > hg-stable
diff mercurial/filelog.py @ 25948:34bd1a5eef5b
filelog: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 19:11:42 -0700 |
parents | 4bfe9f2d9761 |
children | be5b2098a817 |
line wrap: on
line diff
--- a/mercurial/filelog.py Sat Aug 08 19:16:16 2015 -0700 +++ b/mercurial/filelog.py Sat Aug 08 19:11:42 2015 -0700 @@ -5,8 +5,16 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -import error, mdiff, revlog -import re, struct +from __future__ import absolute_import + +import re +import struct + +from . import ( + error, + mdiff, + revlog, +) _mdre = re.compile('\1\n') def parsemeta(text):