mercurial/unionrepo.py
changeset 25988 83f220c7d6f0
parent 24835 e4f75c93f073
child 26230 6b16a3538c20
--- a/mercurial/unionrepo.py	Sat Aug 08 20:11:56 2015 -0700
+++ b/mercurial/unionrepo.py	Sat Aug 08 20:13:11 2015 -0700
@@ -11,11 +11,25 @@
 allowing operations like diff and log with revsets.
 """
 
-from node import nullid
-from i18n import _
+from __future__ import absolute_import
+
 import os
-import util, mdiff, cmdutil, scmutil
-import localrepo, changelog, manifest, filelog, revlog, pathutil
+
+from .i18n import _
+from .node import nullid
+
+from . import (
+    changelog,
+    cmdutil,
+    filelog,
+    localrepo,
+    manifest,
+    mdiff,
+    pathutil,
+    revlog,
+    scmutil,
+    util,
+)
 
 class unionrevlog(revlog.revlog):
     def __init__(self, opener, indexfile, revlog2, linkmapper):