diff mercurial/util.py @ 24955:1df233bcb7f6

remove: use ctx.hasdir(f) instead of 'f in ctx.dirs()' This speeds up 'hg remove python/README' on the Firefox repo from 2.479s to 0.664s with lazily loaded treemanifests (which is not yet in core) and has no measurable effect on flat manifests.
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 21 Apr 2015 09:29:59 -0700
parents 986a5c23b1c1
children 754df8e932d3
line wrap: on
line diff