mercurial/filelog.py
changeset 25948 34bd1a5eef5b
parent 24255 4bfe9f2d9761
child 30584 be5b2098a817
--- 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):