~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Robert Collins
  • Date: 2005-10-02 21:51:29 UTC
  • mfrom: (1396)
  • mto: This revision was merged to the branch mainline in revision 1397.
  • Revision ID: robertc@robertcollins.net-20051002215128-5686c7d24bf9bdb9
merge from martins newformat branch - brings in transport abstraction

Show diffs side-by-side

added added

removed removed

Lines of Context:
316
316
        rev_tmp = StringIO()
317
317
        serializer_v5.write_revision(self.rev, rev_tmp)
318
318
        rev_tmp.seek(0)
319
 
        self.branch.revision_store.add(rev_tmp, self.rev_id, compressed=True)
 
319
        self.branch.revision_store.add(rev_tmp, self.rev_id)
320
320
        mutter('new revision_id is {%s}', self.rev_id)
321
321
 
322
322
 
341
341
                deleted_ids.append(ie.file_id)
342
342
        if deleted_ids:
343
343
            for file_id in deleted_ids:
344
 
                del self.work_inv[file_id]
 
344
                if file_id in self.work_inv:
 
345
                    del self.work_inv[file_id]
345
346
            self.branch._write_inventory(self.work_inv)
346
347
 
347
348