mercurial/pure/parsers.py
changeset 17425 e95ec38f86b0
parent 14995 8d928799dab5
child 18567 194e63c1ccb9
equal deleted inserted replaced
17424:e7cfe3587ea4 17425:e95ec38f86b0
    68 
    68 
    69     return index, cache
    69     return index, cache
    70 
    70 
    71 def parse_dirstate(dmap, copymap, st):
    71 def parse_dirstate(dmap, copymap, st):
    72     parents = [st[:20], st[20: 40]]
    72     parents = [st[:20], st[20: 40]]
    73     # deref fields so they will be local in loop
    73     # dereference fields so they will be local in loop
    74     format = ">cllll"
    74     format = ">cllll"
    75     e_size = struct.calcsize(format)
    75     e_size = struct.calcsize(format)
    76     pos1 = 40
    76     pos1 = 40
    77     l = len(st)
    77     l = len(st)
    78 
    78