~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Martin Pool
  • Date: 2010-01-15 06:27:58 UTC
  • mto: This revision was merged to the branch mainline in revision 5019.
  • Revision ID: mbp@sourcefrog.net-20100115062758-j4ub0qerpoah1oho
RemoveĀ moreĀ pb-passing

Show diffs side-by-side

added added

removed removed

Lines of Context:
2165
2165
        """
2166
2166
        selected_keys = set((revid,) for revid in revision_ids)
2167
2167
        w = _inv_weave or self.inventories
2168
 
        pb = ui.ui_factory.nested_progress_bar()
2169
 
        try:
2170
 
            return self._find_file_ids_from_xml_inventory_lines(
2171
 
                w.iter_lines_added_or_present_in_keys(
2172
 
                    selected_keys, pb=pb),
2173
 
                selected_keys)
2174
 
        finally:
2175
 
            pb.finished()
 
2168
        return self._find_file_ids_from_xml_inventory_lines(
 
2169
            w.iter_lines_added_or_present_in_keys(
 
2170
                selected_keys, pb=None),
 
2171
            selected_keys)
2176
2172
 
2177
2173
    def iter_files_bytes(self, desired_files):
2178
2174
        """Iterate through file versions.