Merge with crew
authorBrendan Cully <brendan@kublai.com>
Sat, 07 Jul 2007 15:09:28 -0700
changeset 4838 9a45e1597d08
parent 4837 7031d9e2fa45 (current diff)
parent 4836 035489f60842 (diff)
child 4839 edd07be943dd
Merge with crew
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -834,7 +834,7 @@ def debuginstall(ui):
     '''test Mercurial installation'''
 
     def writetemp(contents):
-        (fd, name) = tempfile.mkstemp()
+        (fd, name) = tempfile.mkstemp(prefix="hg-debuginstall-")
         f = os.fdopen(fd, "wb")
         f.write(contents)
         f.close()