verify: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 18:48:10 -0700
changeset 25991 d21d1774c73b
parent 25990 c3efcdba08ea
child 25992 2d76f8a2d831
verify: use absolute_import
mercurial/verify.py
--- a/mercurial/verify.py	Sat Aug 08 20:14:50 2015 -0700
+++ b/mercurial/verify.py	Sat Aug 08 18:48:10 2015 -0700
@@ -5,10 +5,21 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-from node import nullid, short
-from i18n import _
+from __future__ import absolute_import
+
 import os
-import revlog, util, error
+
+from .i18n import _
+from .node import (
+    nullid,
+    short,
+)
+
+from . import (
+    error,
+    revlog,
+    util,
+)
 
 def verify(repo):
     lock = repo.lock()