dirstate-item: move the C implementation to the same logic...
dirstate-item: move the C implementation to the same logic
Now that we know were we are going, we can update the C implementation.
Differential Revision:
https://phab.mercurial-scm.org/D11387