changeset 25917:aa323b53e3f9

bookmarks: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 07 Aug 2015 19:49:21 -0700
parents c1777ece502a
children 47f36e050c2e
files mercurial/bookmarks.py
diffstat 1 files changed, 15 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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.