##// END OF EJS Templates
context: don't spuriously raise abort when a file goes missing.
Matt Mackall -
r3823:676b7554 default
parent child Browse files
Show More
@@ -384,7 +384,10 b' class workingctx(changectx):'
384 for i, l in (("a", added), ("m", modified), ("u", unknown)):
384 for i, l in (("a", added), ("m", modified), ("u", unknown)):
385 for f in l:
385 for f in l:
386 man[f] = man.get(copied.get(f, f), nullid) + i
386 man[f] = man.get(copied.get(f, f), nullid) + i
387 try:
387 man.set(f, util.is_exec(self._repo.wjoin(f), man.execf(f)))
388 man.set(f, util.is_exec(self._repo.wjoin(f), man.execf(f)))
389 except OSError:
390 pass
388
391
389 for f in deleted + removed:
392 for f in deleted + removed:
390 if f in man:
393 if f in man:
General Comments 0
You need to be logged in to leave comments. Login now