branch | stable |
changeset 10896 | 2d61b612a09d |
parent 10789 | 1b45468d3deb |
child 10898 | 5589110e9170 |
child 10901 | 997173e49115 |
--- 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