Mercurial > hg
changeset 25991:d21d1774c73b
verify: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 18:48:10 -0700 |
parents | c3efcdba08ea |
children | 2d76f8a2d831 |
files | mercurial/verify.py |
diffstat | 1 files changed, 14 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/verify.py Sat Aug 08 20:14:50 2015 -0700 +++ b/mercurial/verify.py Sat Aug 08 18:48:10 2015 -0700 @@ -5,10 +5,21 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from node import nullid, short -from i18n import _ +from __future__ import absolute_import + import os -import revlog, util, error + +from .i18n import _ +from .node import ( + nullid, + short, +) + +from . import ( + error, + revlog, + util, +) def verify(repo): lock = repo.lock()