bookmarks: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 07 Aug 2015 19:49:21 -0700
changeset 25917 aa323b53e3f9
parent 25916 c1777ece502a
child 25918 47f36e050c2e
bookmarks: use absolute_import
mercurial/bookmarks.py
--- a/mercurial/bookmarks.py	Fri Aug 07 19:47:49 2015 -0700
+++ b/mercurial/bookmarks.py	Fri Aug 07 19:49:21 2015 -0700
@@ -5,11 +5,22 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
+from __future__ import absolute_import
+
+import errno
 import os
-from mercurial.i18n import _
-from mercurial.node import hex, bin
-from mercurial import encoding, util, obsolete, lock as lockmod
-import errno
+
+from .i18n import _
+from .node import (
+    bin,
+    hex,
+)
+from . import (
+    encoding,
+    lock as lockmod,
+    obsolete,
+    util,
+)
 
 class bmstore(dict):
     """Storage for bookmarks.