/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

merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
359
359
            cur_file = (self.get_file_text(file_id),)
360
360
            yield identifier, cur_file
361
361
 
362
 
    def get_symlink_target(self, file_id):
 
362
    def get_symlink_target(self, file_id, path=None):
363
363
        """Get the target for a given file_id.
364
364
 
365
365
        It is assumed that the caller already knows that file_id is referencing
366
366
        a symlink.
367
367
        :param file_id: Handle for the symlink entry.
 
368
        :param path: The path of the file.
 
369
        If both file_id and path are supplied, an implementation may use
 
370
        either one.
368
371
        :return: The path the symlink points to.
369
372
        """
370
373
        raise NotImplementedError(self.get_symlink_target)
371
374
 
372
 
 
373
375
    def get_root_id(self):
374
376
        """Return the file_id for the root of this tree."""
375
377
        raise NotImplementedError(self.get_root_id)