Mercurial > hg-stable
diff mercurial/bookmarks.py @ 25917:aa323b53e3f9
bookmarks: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 07 Aug 2015 19:49:21 -0700 |
parents | ce45bfe8f953 |
children | 0b57b77f9b3e |
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.