~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

merge dirstate (and trunk)

Show diffs side-by-side

added added

removed removed

Lines of Context:
956
956
        :return: This yields (path, entry) pairs
957
957
        """
958
958
        if specific_file_ids:
959
 
            specific_file_ids = [osutils.safe_file_id(fid)
960
 
                                 for fid in specific_file_ids]
 
959
            safe = osutils.safe_file_id
 
960
            specific_file_ids = set(safe(fid) for fid in specific_file_ids)
961
961
        # TODO? Perhaps this should return the from_dir so that the root is
962
962
        # yielded? or maybe an option?
963
963
        if from_dir is None: