/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/workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-31 05:51:49 UTC
  • mfrom: (4216.3.1 commit-uses-ric)
  • Revision ID: pqm@pqm.ubuntu.com-20090331055149-vjdpx8awxkxema5i
(robertc) Make Tree.get_symlink_target consistently return decoded
        strings. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
969
969
        return file_id
970
970
 
971
971
    def get_symlink_target(self, file_id):
972
 
        return os.readlink(self.id2abspath(file_id).encode(osutils._fs_enc))
 
972
        return os.readlink(self.id2abspath(file_id).encode(osutils._fs_enc)
 
973
            ).decode(osutils._fs_enc)
973
974
 
974
975
    @needs_write_lock
975
976
    def subsume(self, other_tree):