Mercurial > hg
diff mercurial/verify.py @ 25991:d21d1774c73b
verify: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 18:48:10 -0700 |
parents | c55eac3f388d |
children | 56b2bcea2529 |
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()