copies: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 00:41:13 -0700
changeset 25924 cfc24c22454e
parent 25923 a027a0813b44
child 25926 996102be8b91
copies: use absolute_import
mercurial/copies.py
--- a/mercurial/copies.py	Sat Aug 08 00:28:53 2015 -0700
+++ b/mercurial/copies.py	Sat Aug 08 00:41:13 2015 -0700
@@ -5,9 +5,15 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-import util, pathutil
+from __future__ import absolute_import
+
 import heapq
 
+from . import (
+    pathutil,
+    util,
+)
+
 def _findlimit(repo, a, b):
     """
     Find the last revision that needs to be checked to ensure that a full