~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Alexander Belchenko
  • Date: 2006-12-19 08:26:36 UTC
  • mfrom: (2198 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2204.
  • Revision ID: bialix@ukr.net-20061219082636-xbb55np3wnamva8t
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
    def get_file_by_path(self, path):
179
179
        return self.get_file(self._inventory.path2id(path))
180
180
 
 
181
    def annotate_iter(self, file_id):
 
182
        """Return an iterator of revision_id, line tuples
 
183
 
 
184
        For working trees (and mutable trees in general), the special
 
185
        revision_id 'current:' will be used for lines that are new in this
 
186
        tree, e.g. uncommitted changes.
 
187
        :param file_id: The file to produce an annotated version from
 
188
        """
 
189
        raise NotImplementedError(self.annotate_iter)
 
190
 
181
191
    inventory = property(_get_inventory,
182
192
                         doc="Inventory of this Tree")
183
193