Show More
@@ -3,9 +3,16 b' from __future__ import absolute_import, ' | |||||
3 | import os |
|
3 | import os | |
4 | import tempfile |
|
4 | import tempfile | |
5 |
|
5 | |||
6 |
from mercurial import |
|
6 | from mercurial import ( | |
|
7 | pycompat, | |||
|
8 | util, | |||
|
9 | ) | |||
|
10 | ||||
7 | from hgext.fastannotate import error, revmap |
|
11 | from hgext.fastannotate import error, revmap | |
8 |
|
12 | |||
|
13 | if pycompat.ispy3: | |||
|
14 | xrange = range | |||
|
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 |
General Comments 0
You need to be logged in to leave comments.
Login now