mercurial/repoview.py
branchstable
changeset 26813 b66e3ca0b90c
parent 25972 f279191124f3
child 27257 49a76d3d43b1
equal deleted inserted replaced
26535:d3712209921d 26813:b66e3ca0b90c
     4 #                Logilab SA        <contact@logilab.fr>
     4 #                Logilab SA        <contact@logilab.fr>
     5 #
     5 #
     6 # This software may be used and distributed according to the terms of the
     6 # This software may be used and distributed according to the terms of the
     7 # GNU General Public License version 2 or any later version.
     7 # GNU General Public License version 2 or any later version.
     8 
     8 
       
     9 from __future__ import absolute_import
       
    10 
       
    11 import copy
     9 import heapq
    12 import heapq
    10 import copy
       
    11 import error
       
    12 import phases
       
    13 import util
       
    14 import obsolete
       
    15 import struct
    13 import struct
    16 import tags as tagsmod
    14 
    17 from node import nullrev
    15 from .node import nullrev
       
    16 from . import (
       
    17     error,
       
    18     obsolete,
       
    19     phases,
       
    20     tags as tagsmod,
       
    21     util,
       
    22 )
    18 
    23 
    19 def hideablerevs(repo):
    24 def hideablerevs(repo):
    20     """Revisions candidates to be hidden
    25     """Revisions candidates to be hidden
    21 
    26 
    22     This is a standalone function to help extensions to wrap it."""
    27     This is a standalone function to help extensions to wrap it."""