Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/commands.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/commands.py +++ b/mercurial/commands.py @@ -303,7 +303,7 @@ def write_bundle(cg, filename=None, comp raise util.Abort(_("file '%s' already exists"), filename) fh = open(filename, "wb") else: - fd, filename = tempfile.mkstemp(suffix=".hg", prefix="hg-bundle-") + fd, filename = tempfile.mkstemp(prefix="hg-bundle-", suffix=".hg") fh = os.fdopen(fd, "wb") cleanup = filename