~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-05 21:32:50 UTC
  • mfrom: (1551.15.39 Aaron's mergeable stuff)
  • Revision ID: pqm@pqm.ubuntu.com-20070705213250-ae4p76jrqrmo3dko
(Aaron Bentley) Fix bug #94975 by using iter_entries_by_dir instead of iter_entries to ensure parents come before children

Show diffs side-by-side

added added

removed removed

Lines of Context:
599
599
        self.pb_entries_total = len(work_inv)
600
600
 
601
601
        # Check and warn about old CommitBuilders
602
 
        entries = work_inv.iter_entries()
 
602
        entries = work_inv.iter_entries_by_dir()
603
603
        if not self.builder.record_root_entry:
604
604
            symbol_versioning.warn('CommitBuilders should support recording'
605
605
                ' the root entry as of bzr 0.10.', DeprecationWarning,