/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: Aaron Bentley
  • Date: 2009-05-20 10:40:50 UTC
  • mto: This revision was merged to the branch mainline in revision 4374.
  • Revision ID: aaron@aaronbentley.com-20090520104050-f0o4bv6n3r8xm2ub
Allow committing a file add to a PreviewTree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
654
654
            iter_changes = self._filter_iter_changes(iter_changes, update_tree)
655
655
            for file_id, path, fs_hash in self.builder.record_iter_changes(
656
656
                self.work_tree, self.basis_revid, iter_changes):
657
 
                self.work_tree._observed_sha1(file_id, path, fs_hash)
 
657
                if fs_hash[1] is not None:
 
658
                    self.work_tree._observed_sha1(file_id, path, fs_hash)
658
659
        else:
659
660
            # Build the new inventory
660
661
            self._populate_from_inventory()