~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Robert Collins
  • Date: 2007-03-05 03:43:56 UTC
  • mfrom: (2312 +trunk)
  • mto: (2255.11.6 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: robertc@robertcollins.net-20070305034356-og43j35eg62m952f
Merge bzr.dev.

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: