author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
Tue, 13 Apr 2010 21:54:59 +0200 | |
branch | stable |
changeset 10896 | 2d61b612a09d |
parent 10885 | 9e4d120e3c32 |
child 10898 | 5589110e9170 |
child 10901 | 997173e49115 |
mercurial/util.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/util.py Mon Apr 12 21:19:53 2010 +0200 +++ b/mercurial/util.py Tue Apr 13 21:54:59 2010 +0200 @@ -664,7 +664,7 @@ try: EXECFLAGS = stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH - fh, fn = tempfile.mkstemp("", "", path) + fh, fn = tempfile.mkstemp(dir=path, prefix='hg-checkexec-') try: os.close(fh) m = os.stat(fn).st_mode & 0777