/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Aaron Bentley
  • Date: 2007-12-30 22:24:01 UTC
  • mto: This revision was merged to the branch mainline in revision 3241.
  • Revision ID: aaron.bentley@utoronto.ca-20071230222401-mopeude5ha916n1h
Introduce iter_all_file_ids, to avoid hitting Inventory for this case

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
    def __iter__(self):
146
146
        return iter(self.inventory)
147
147
 
 
148
    def iter_all_file_ids(self):
 
149
        """Iterate through all file ids, including ids for missing files."""
 
150
        return iter(self)
 
151
 
148
152
    def id2path(self, file_id):
149
153
        """Return the path for a file id.
150
154