Mercurial > hg-stable
changeset 25988:83f220c7d6f0
unionrepo: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 20:13:11 -0700 |
parents | c6d049a5de43 |
children | 2cc4e8385661 |
files | mercurial/unionrepo.py |
diffstat | 1 files changed, 18 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/unionrepo.py Sat Aug 08 20:11:56 2015 -0700 +++ b/mercurial/unionrepo.py Sat Aug 08 20:13:11 2015 -0700 @@ -11,11 +11,25 @@ allowing operations like diff and log with revsets. """ -from node import nullid -from i18n import _ +from __future__ import absolute_import + import os -import util, mdiff, cmdutil, scmutil -import localrepo, changelog, manifest, filelog, revlog, pathutil + +from .i18n import _ +from .node import nullid + +from . import ( + changelog, + cmdutil, + filelog, + localrepo, + manifest, + mdiff, + pathutil, + revlog, + scmutil, + util, +) class unionrevlog(revlog.revlog): def __init__(self, opener, indexfile, revlog2, linkmapper):