~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to upstream_import.py

  • Committer: Aaron Bentley
  • Date: 2006-10-25 05:25:44 UTC
  • mto: This revision was merged to the branch mainline in revision 455.
  • Revision ID: aaron.bentley@utoronto.ca-20061025052544-caaae9a68592dd56
Handle the fact that roots are included

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
 
74
74
    removed = set()
75
75
    for path, entry in tree.inventory.iter_entries():
 
76
        if entry.parent_id is None:
 
77
            continue
76
78
        trans_id = tt.trans_id_tree_path(path)
77
79
        tt.delete_contents(trans_id)
78
80
        removed.add(path)