~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transform.py

  • Committer: Aaron Bentley
  • Date: 2008-07-02 19:02:34 UTC
  • mto: (3363.6.3 path_content_summary)
  • mto: This revision was merged to the branch mainline in revision 3517.
  • Revision ID: aaron@aaronbentley.com-20080702190234-uvxeb5lpf5lvsgk8
Fix iteration order of iter_entries_by_dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
1532
1532
            children = list(self._all_children(parent))
1533
1533
            paths = dict(zip(children, self._final_paths.get_paths(children)))
1534
1534
            children.sort(key=paths.get)
1535
 
            todo.extend(children)
 
1535
            todo.extend(reversed(children))
1536
1536
            for trans_id in children:
1537
1537
                ordered_ids.append((trans_id, parent_file_id))
1538
1538
        for entry, trans_id in self._make_inv_entries(ordered_ids,