mercurial/filelog.py
branchstable
changeset 26813 b66e3ca0b90c
parent 25948 34bd1a5eef5b
child 30584 be5b2098a817
--- a/mercurial/filelog.py	Thu Oct 08 23:24:38 2015 +0900
+++ b/mercurial/filelog.py	Tue Oct 20 15:59:10 2015 -0500
@@ -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):