Mercurial > hg
diff mercurial/localrepo.py @ 2167:f5c2c6e69fd7
merge with crew.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Sun, 30 Apr 2006 16:30:57 -0700 |
parents | d0c02b4dce9a d821918e3bee |
children | b2ae81a7df29 |
line wrap: on
line diff
--- 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()