changeset 2167 | f5c2c6e69fd7 |
parent 2166 | d0c02b4dce9a |
parent 2165 | d821918e3bee |
child 2175 | b2ae81a7df29 |
--- a/mercurial/localrepo.py Sun Apr 30 16:30:39 2006 -0700 +++ b/mercurial/localrepo.py Sun Apr 30 16:30:57 2006 -0700 @@ -1824,7 +1824,7 @@ def temp(prefix, node): pre = "%s~%s." % (os.path.basename(fn), prefix) - (fd, name) = tempfile.mkstemp("", pre) + (fd, name) = tempfile.mkstemp(prefix=pre) f = os.fdopen(fd, "wb") self.wwrite(fn, fl.read(node), f) f.close()