filelog: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:11:42 -0700
changeset 25948 34bd1a5eef5b
parent 25947 6002e2d95e54
child 25949 80aba76e29c1
filelog: use absolute_import
mercurial/filelog.py
--- 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):