/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/repofmt/pack_repo.py

  • Committer: John Arbash Meinel
  • Date: 2008-03-14 10:55:37 UTC
  • mfrom: (3275 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3281.
  • Revision ID: john@arbash-meinel.com-20080314105537-v9h2ue0uxvs1dyn6
[merge] bzr.dev 3275

Show diffs side-by-side

added added

removed removed

Lines of Context:
642
642
        # at this point.
643
643
        self.pb.update("Copying inventory texts", 2)
644
644
        total_items, readv_group_iter = self._least_readv_node_readv(inv_nodes)
 
645
        # Only grab the output lines if we will be processing them
 
646
        output_lines = bool(self.revision_ids)
645
647
        inv_lines = self._copy_nodes_graph(inventory_index_map,
646
648
            self.new_pack._writer, self.new_pack.inventory_index,
647
 
            readv_group_iter, total_items, output_lines=True)
 
649
            readv_group_iter, total_items, output_lines=output_lines)
648
650
        if self.revision_ids:
649
651
            self._process_inventory_lines(inv_lines)
650
652
        else:
656
658
                time.ctime(), self._pack_collection._upload_transport.base,
657
659
                self.new_pack.random_name,
658
660
                self.new_pack.inventory_index.key_count(),
659
 
                time.time() - new_pack.start_time)
 
661
                time.time() - self.new_pack.start_time)
660
662
 
661
663
    def _copy_text_texts(self):
662
664
        # select text keys