Mercurial > hg
changeset 25972:f279191124f3
repoview: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 19:58:05 -0700 |
parents | e9cd028f2dff |
children | fb5664eb8414 |
files | mercurial/repoview.py |
diffstat | 1 files changed, 12 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/repoview.py Sat Aug 08 18:36:58 2015 -0700 +++ b/mercurial/repoview.py Sat Aug 08 19:58:05 2015 -0700 @@ -6,15 +6,20 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -import heapq +from __future__ import absolute_import + import copy -import error -import phases -import util -import obsolete +import heapq import struct -import tags as tagsmod -from node import nullrev + +from .node import nullrev +from . import ( + error, + obsolete, + phases, + tags as tagsmod, + util, +) def hideablerevs(repo): """Revisions candidates to be hidden