hg diff: why is it listing the directories?
Alexis S. L. Carvalho
alexis at cecm.usp.br
Mon Jun 4 22:15:35 UTC 2007
Thus spake Guido Ostkamp:
> > Yes, thanks! What about avoiding the getdirents altogether?
>
> My investigations show that the two remaining getdents() are lookups
> during for the Python package directories during the Python startup and
> most likely cannot be avoided.
You're probably trying "hg diff file". If you try just "hg diff",
you'll see many other getdents.
(And if you see only 2 getdents, then your python instalation is
probably leaner than mine :-) )
Alexis
More information about the Mercurial
mailing list