/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: Alexander Belchenko
  • Date: 2008-02-28 21:25:30 UTC
  • mfrom: (3243 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3246.
  • Revision ID: bialix@ukr.net-20080228212530-pcrt1sc4vcezapgr
merge bzr.dev

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 all_file_ids(self):
 
149
        """Iterate through all file ids, including ids for missing files."""
 
150
        return set(self.inventory)
 
151
 
148
152
    def id2path(self, file_id):
149
153
        """Return the path for a file id.
150
154
 
185
189
        raise NotImplementedError("Tree subclass %s must implement kind"
186
190
            % self.__class__.__name__)
187
191
 
 
192
    def stored_kind(self, file_id):
 
193
        """File kind stored for this file_id.
 
194
 
 
195
        May not match kind on disk for working trees.  Always available
 
196
        for versioned files, even when the file itself is missing.
 
197
        """
 
198
        return self.kind(file_id)
 
199
 
188
200
    def path_content_summary(self, path):
189
201
        """Get a summary of the information about path.
190
202