/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: Canonical.com Patch Queue Manager
  • Date: 2008-02-28 03:22:58 UTC
  • mfrom: (3146.8.20 no-inventory5)
  • Revision ID: pqm@pqm.ubuntu.com-20080228032258-4mdmqlx603ak6x2w
Implement checkout entirely via dirstate (abentley)

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