~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

[merge] from robert

 - fix handling of symlinks in tree

 - improved executable bits

 - cache pull over http and test for this

Show diffs side-by-side

added added

removed removed

Lines of Context:
185
185
            return bool(stat.S_ISREG(mode) and stat.S_IEXEC&mode)
186
186
 
187
187
    def get_symlink_target(self, file_id):
188
 
        return os.readlink(self.id2path(file_id))
 
188
        return os.readlink(self.id2abspath(file_id))
189
189
 
190
190
    def file_class(self, filename):
191
191
        if self.path2id(filename):