~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Aaron Bentley
  • Date: 2006-08-15 03:09:14 UTC
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1922.
  • Revision ID: aaron.bentley@utoronto.ca-20060815030914-dfff3234aefe3819
Update for merge review, handle deprecations

Show diffs side-by-side

added added

removed removed

Lines of Context:
508
508
        entries = self.work_inv.iter_entries()
509
509
        if not self.builder.record_root_entry:
510
510
            warnings.warn('CommitBuilders should support recording the root'
511
 
                ' entry as of bzr 0.10.', DeprecationWarning, stacklevel=2)
 
511
                ' entry as of bzr 0.10.', DeprecationWarning, stacklevel=1)
512
512
            self.builder.new_inventory.add(self.basis_inv.root.copy())
513
513
            entries.next()
514
514
            self._emit_progress_update()