equal
deleted
inserted
replaced
2 |
2 |
3 It also checks certain aspects of the parsers module as a whole. |
3 It also checks certain aspects of the parsers module as a whole. |
4 """ |
4 """ |
5 |
5 |
6 from __future__ import absolute_import, print_function |
6 from __future__ import absolute_import, print_function |
|
7 |
|
8 import struct |
|
9 import subprocess |
|
10 import sys |
|
11 |
7 from mercurial import ( |
12 from mercurial import ( |
8 parsers, |
13 parsers, |
9 ) |
14 ) |
10 from mercurial.node import ( |
15 from mercurial.node import ( |
11 nullid, |
16 nullid, |
12 nullrev, |
17 nullrev, |
13 ) |
18 ) |
14 import struct |
|
15 import subprocess |
|
16 import sys |
|
17 |
19 |
18 # original python implementation |
20 # original python implementation |
19 def gettype(q): |
21 def gettype(q): |
20 return int(q & 0xFFFF) |
22 return int(q & 0xFFFF) |
21 |
23 |