changeset 4836 | 035489f60842 |
parent 4819 | 616a5adbf402 |
child 4847 | 2192001e4bb4 |
--- 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()