mercurial/appendfile.py
changeset 2165 d821918e3bee
parent 2102 c62112815801
child 2177 6886bc0b77af
--- a/mercurial/appendfile.py	Sun Apr 30 19:30:59 2006 +0200
+++ b/mercurial/appendfile.py	Sun Apr 30 21:11:22 2006 +0200
@@ -38,7 +38,7 @@
             self.tmpname = tmpname
             self.tmpfp = open(self.tmpname, 'ab+')
         else:
-            fd, self.tmpname = tempfile.mkstemp()
+            fd, self.tmpname = tempfile.mkstemp(prefix="hg-appendfile-")
             self.tmpfp = os.fdopen(fd, 'ab+')
         self.realfp = fp
         self.offset = fp.tell()