repoview: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:58:05 -0700
changeset 25972 f279191124f3
parent 25971 e9cd028f2dff
child 25973 fb5664eb8414
repoview: use absolute_import
mercurial/repoview.py
--- a/mercurial/repoview.py	Sat Aug 08 18:36:58 2015 -0700
+++ b/mercurial/repoview.py	Sat Aug 08 19:58:05 2015 -0700
@@ -6,15 +6,20 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-import heapq
+from __future__ import absolute_import
+
 import copy
-import error
-import phases
-import util
-import obsolete
+import heapq
 import struct
-import tags as tagsmod
-from node import nullrev
+
+from .node import nullrev
+from . import (
+    error,
+    obsolete,
+    phases,
+    tags as tagsmod,
+    util,
+)
 
 def hideablerevs(repo):
     """Revisions candidates to be hidden