/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 processors/generic_processor.py

  • Committer: Ian Clatworthy
  • Date: 2009-08-21 23:34:09 UTC
  • mfrom: (0.64.220 trunk)
  • mto: (0.64.225 trunk)
  • mto: This revision was merged to the branch mainline in revision 6631.
  • Revision ID: ian.clatworthy@canonical.com-20090821233409-0of18jqe1109vtzf
Merge fixes from trunk, rev 220.

Show diffs side-by-side

added added

removed removed

Lines of Context:
450
450
        # Commit the current write group and start a new one
451
451
        self.repo.commit_write_group()
452
452
        self._save_id_map()
453
 
        self.checkpoint_count += 1
454
 
        if self.checkpoint_count % self.autopack_every == 0:
455
 
            self._pack_repository(final=False)
 
453
        # track the number of automatic checkpoints done
 
454
        if cmd is None:
 
455
            self.checkpoint_count += 1
 
456
            if self.checkpoint_count % self.autopack_every == 0:
 
457
                self._pack_repository(final=False)
456
458
        self.repo.start_write_group()
457
459
 
458
460
    def commit_handler(self, cmd):