Mercurial > hg-stable
diff mercurial/repoview.py @ 25972:f279191124f3
repoview: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 19:58:05 -0700 |
parents | 3f0744eeaeaf |
children | 49a76d3d43b1 |
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