Mercurial > hg
changeset 25948:34bd1a5eef5b
filelog: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 19:11:42 -0700 |
parents | 6002e2d95e54 |
children | 80aba76e29c1 |
files | mercurial/filelog.py |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
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):