tests/test-fastannotate-revmap.py
changeset 39407 aa95fd0257df
parent 39250 659f010ffa7e
child 40946 5fd63bca43a4
equal deleted inserted replaced
39406:b3572f733dbd 39407:aa95fd0257df
     1 from __future__ import absolute_import, print_function
     1 from __future__ import absolute_import, print_function
     2 
     2 
     3 import os
     3 import os
     4 import tempfile
     4 import tempfile
     5 
     5 
     6 from mercurial import util
     6 from mercurial import (
       
     7     pycompat,
       
     8     util,
       
     9 )
       
    10 
     7 from hgext.fastannotate import error, revmap
    11 from hgext.fastannotate import error, revmap
       
    12 
       
    13 if pycompat.ispy3:
       
    14     xrange = range
     8 
    15 
     9 def genhsh(i):
    16 def genhsh(i):
    10     return chr(i) + b'\0' * 19
    17     return chr(i) + b'\0' * 19
    11 
    18 
    12 def gettemppath():
    19 def gettemppath():