/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/commit.py

  • Committer: Ian Clatworthy
  • Date: 2007-06-20 03:32:32 UTC
  • mto: (2539.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2540.
  • Revision ID: ian.clatworthy@internode.on.net-20070620033232-eod2sjmf2ath8ya3
Fix whitespace and improve tests to cover actual progress messages

Show diffs side-by-side

added added

removed removed

Lines of Context:
701
701
            self.pb_entries_total = '?'
702
702
        self._emit_progress()
703
703
 
704
 
 
705
704
    def _emit_progress_next_entry(self):
706
705
        """Emit an update to the progress bar and increment the file count."""
707
706
        self.pb_entries_count += 1
708
707
        self._emit_progress()
709
708
 
710
 
 
711
709
    def _emit_progress(self):
712
710
        if self.pb_entries_show:
713
711
            text = "%s [Entry %d/%s] - Stage" % (self.pb_stage_name,
716
714
            text = "%s - Stage" % (self.pb_stage_name)
717
715
        self.pb.update(text, self.pb_stage_count, self.pb_stage_total)
718
716
 
719
 
 
720
717
    def _report_deletes(self):
721
718
        for path, ie in self.basis_inv.iter_entries():
722
719
            if ie.file_id not in self.builder.new_inventory: