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

Merge support for executable symlinks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
386
386
    if kind == 'directory':
387
387
        return stat.S_IFDIR
388
388
    elif kind == 'symlink':
389
 
        return stat.S_IFLNK
 
389
        mode = stat.S_IFLNK
 
390
        if executable:
 
391
            mode |= 0111
 
392
        return mode
390
393
    elif kind == 'file':
391
394
        mode = stat.S_IFREG | 0644
392
395
        if executable: