/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Aaron Bentley
  • Date: 2007-08-16 04:41:00 UTC
  • mto: This revision was merged to the branch mainline in revision 2735.
  • Revision ID: aaron.bentley@utoronto.ca-20070816044100-sdff9czzjft6g919
Rename extract_files_bytes to iter_files_bytes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1521
1521
    def get_reference_revision(self, file_id, path=None):
1522
1522
        return self.inventory[file_id].reference_revision
1523
1523
 
1524
 
    def extract_files_bytes(self, desired_files):
1525
 
        """See Tree.extract_files_bytes.
 
1524
    def iter_files_bytes(self, desired_files):
 
1525
        """See Tree.iter_files_bytes.
1526
1526
 
1527
 
        This version is implemented on top of Repository.extract_files_bytes"""
 
1527
        This version is implemented on top of Repository.iter_files_bytes"""
1528
1528
        parent_index = self._get_parent_index()
1529
1529
        repo_desired_files = [(f, self._get_entry(f)[1][parent_index][4], i)
1530
1530
                              for f, i in desired_files]
1531
 
        return self._repository.extract_files_bytes(repo_desired_files)
 
1531
        return self._repository.iter_files_bytes(repo_desired_files)
1532
1532
 
1533
1533
    def get_symlink_target(self, file_id):
1534
1534
        entry = self._get_entry(file_id=file_id)