835
835
# XXX: Note that entries may have the wrong kind because the entry does
836
836
# not reflect the status on disk.
838
839
# NB: entries will include entries within the excluded ids/paths
839
840
# because iter_entries_by_dir has no 'exclude' facility today.
840
841
entries = work_inv.iter_entries_by_dir(