~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Aaron Bentley
  • Date: 2007-03-05 22:43:22 UTC
  • mfrom: (2315 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2316.
  • Revision ID: aaron.bentley@utoronto.ca-20070305224322-1w0aqoao1hsf4o2n
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

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