tests/test-parseindex2.py
changeset 29205 a0939666b836
parent 28841 e155b8d5e3b7
child 32411 df448de7cf3b
equal deleted inserted replaced
29204:ce2d81aafbae 29205:a0939666b836
     7 
     7 
     8 import struct
     8 import struct
     9 import subprocess
     9 import subprocess
    10 import sys
    10 import sys
    11 
    11 
    12 from mercurial import (
       
    13     parsers,
       
    14 )
       
    15 from mercurial.node import (
    12 from mercurial.node import (
    16     nullid,
    13     nullid,
    17     nullrev,
    14     nullrev,
       
    15 )
       
    16 from mercurial import (
       
    17     parsers,
    18 )
    18 )
    19 
    19 
    20 # original python implementation
    20 # original python implementation
    21 def gettype(q):
    21 def gettype(q):
    22     return int(q & 0xFFFF)
    22     return int(q & 0xFFFF)