Mercurial > hg
changeset 5355:efe7ef325737
merge with -stable
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 02 Oct 2007 20:25:35 +0200 |
parents | 9189ae05467d (current diff) 1df76921aab3 (diff) |
children | b98c377b3c16 |
files | mercurial/util.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py Sun Sep 30 16:38:42 2007 +0200 +++ b/mercurial/util.py Tue Oct 02 20:25:35 2007 +0200 @@ -1095,7 +1095,7 @@ def set_exec(f, mode): s = os.lstat(f).st_mode - if (s & 0100 != 0) == mode: + if stat.S_ISLNK(s) or (s & 0100 != 0) == mode: return if mode: # Turn on +x for every +r bit when making a file executable