tests/fakedirstatewritetime.py
changeset 47539 84391ddf4c78
parent 47501 8b7e47802deb
child 47543 20b65f34d704
equal deleted inserted replaced
47538:77fce401a2bb 47539:84391ddf4c78
    41     # execute what original parsers.pack_dirstate should do actually
    41     # execute what original parsers.pack_dirstate should do actually
    42     # for consistency
    42     # for consistency
    43     actualnow = int(now)
    43     actualnow = int(now)
    44     for f, e in dmap.items():
    44     for f, e in dmap.items():
    45         if e[0] == 'n' and e[3] == actualnow:
    45         if e[0] == 'n' and e[3] == actualnow:
    46             e = parsers.dirstatetuple(e[0], e[1], e[2], -1)
    46             e = parsers.DirstateItem(e[0], e[1], e[2], -1)
    47             dmap[f] = e
    47             dmap[f] = e
    48 
    48 
    49     return orig(dmap, copymap, pl, fakenow)
    49     return orig(dmap, copymap, pl, fakenow)
    50 
    50 
    51 
    51