##// END OF EJS Templates
merge with stable
Benoit Boissinot -
r10898:5589110e merge default
parent child Browse files
Show More
@@ -671,7 +671,7 b' def checkexec(path):'
671
671
672 try:
672 try:
673 EXECFLAGS = stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH
673 EXECFLAGS = stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH
674 fh, fn = tempfile.mkstemp("", "", path)
674 fh, fn = tempfile.mkstemp(dir=path, prefix='hg-checkexec-')
675 try:
675 try:
676 os.close(fh)
676 os.close(fh)
677 m = os.stat(fn).st_mode & 0777
677 m = os.stat(fn).st_mode & 0777
General Comments 0
You need to be logged in to leave comments. Login now