~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to upstream_import.py

  • Committer: Aaron Bentley
  • Date: 2012-03-20 02:40:57 UTC
  • Revision ID: aaron@aaronbentley.com-20120320024057-mqltf93xxs09r0ry
Compatibility fixes for bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
196
196
def import_archive_to_transform(tree, archive_file, tt):
197
197
    prefix = common_directory(names_of_files(archive_file))
198
198
    removed = set()
199
 
    for path, entry in tree.inventory.iter_entries():
 
199
    for path, entry in tree.iter_entries_by_dir():
200
200
        if entry.parent_id is None:
201
201
            continue
202
202
        trans_id = tt.trans_id_tree_path(path)