merge with stable
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 13 Apr 2010 22:10:24 +0200
changeset 10898 5589110e9170
parent 10897 adb6a291bbdb (current diff)
parent 10896 2d61b612a09d (diff)
child 10899 90112473b8ca
merge with stable
mercurial/util.py
--- a/mercurial/util.py	Tue Apr 13 22:06:17 2010 +0200
+++ b/mercurial/util.py	Tue Apr 13 22:10:24 2010 +0200
@@ -671,7 +671,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