##// END OF EJS Templates
dirstate-item: use the properties in fakedirstatewritetime...
marmoute -
r48332:20b65f34 default
parent child Browse files
Show More
@@ -42,8 +42,10 b' def pack_dirstate(fakenow, orig, dmap, c'
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.need_delay(actualnow):
46 e = parsers.DirstateItem(e[0], e[1], e[2], -1)
46 e = parsers.DirstateItem(
47 e.state, e.mode, e.size, dirstatemapmod.AMBIGUOUS_TIME
48 )
47 dmap[f] = e
49 dmap[f] = e
48
50
49 return orig(dmap, copymap, pl, fakenow)
51 return orig(dmap, copymap, pl, fakenow)
General Comments 0
You need to be logged in to leave comments. Login now