~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Robert Collins
  • Date: 2006-07-21 01:37:47 UTC
  • mto: (1852.9.1 Tree.compare().)
  • mto: This revision was merged to the branch mainline in revision 1890.
  • Revision ID: robertc@robertcollins.net-20060721013747-9752a96bc423aa76
Make iter(Tree) consistent for all tree types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
749
749
 
750
750
    inv = revision_tree.inventory
751
751
    
 
752
    # backwards compatability hack: skip the root id.
 
753
    entries = inv.iter_entries()
 
754
    entries.next()
752
755
    # Add the texts that are not already present
753
 
    for path, ie in inv.iter_entries():
 
756
    for path, ie in entries:
754
757
        w = repository.weave_store.get_weave_or_empty(ie.file_id,
755
758
                repository.get_transaction())
756
759
        if ie.revision not in w: