equal
deleted
inserted
replaced
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(): |