~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree_4.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-13 16:59:44 UTC
  • mfrom: (5858.1.1 symlink-target-path)
  • Revision ID: pqm@pqm.ubuntu.com-20110513165944-rv579ds1kciopi4n
(jelmer) Add optional path argument to Tree.get_symlink_target(). (Jelmer
 Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1889
1889
                                       identifier))
1890
1890
        return self._repository.iter_files_bytes(repo_desired_files)
1891
1891
 
1892
 
    def get_symlink_target(self, file_id):
 
1892
    def get_symlink_target(self, file_id, path=None):
1893
1893
        entry = self._get_entry(file_id=file_id)
1894
1894
        parent_index = self._get_parent_index()
1895
1895
        if entry[1][parent_index][0] != 'l':