667
667
:param path_utf8: An utf8 path to be looked up.
668
668
:return: The dirstate entry tuple for path, or (None, None)
670
671
if path_utf8 is not None:
671
672
assert path_utf8.__class__ == str, 'path_utf8 is not a str: %s %s' % (type(path_utf8), path_utf8)
674
673
# path lookups are faster
676
675
for entry in self._root_entries: