changeset 25964:d740df4e96cf

pathutil: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:45:15 -0700
parents 7448df709b2e
children e6b56b2c1f26
files mercurial/pathutil.py
diffstat 1 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/pathutil.py	Sat Aug 08 19:44:05 2015 -0700
+++ b/mercurial/pathutil.py	Sat Aug 08 19:45:15 2015 -0700
@@ -1,8 +1,15 @@
-import os, errno, stat, posixpath
+from __future__ import absolute_import
 
-import encoding
-import util
-from i18n import _
+import errno
+import os
+import posixpath
+import stat
+
+from .i18n import _
+from . import (
+    encoding,
+    util,
+)
 
 def _lowerclean(s):
     return encoding.hfsignoreclean(s.lower())