~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Aaron Bentley
  • Date: 2007-01-27 20:17:00 UTC
  • mto: (2255.6.1 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20070127201700-zpa95eucj24u8pyp
Enable nested commits

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
        return self.inventory.iter_entries_by_dir(
153
153
            specific_file_ids=specific_file_ids)
154
154
 
 
155
    def iter_reference_entries(self):
 
156
        for path, entry in self.iter_entries_by_dir():
 
157
            if entry.kind == 'tree-reference':
 
158
                yield path, entry
 
159
 
155
160
    def kind(self, file_id):
156
161
        raise NotImplementedError("subclasses must implement kind")
157
162