diff -r d0c02b4dce9a -r f5c2c6e69fd7 mercurial/commands.py --- a/mercurial/commands.py Sun Apr 30 16:30:39 2006 -0700 +++ b/mercurial/commands.py Sun Apr 30 16:30:57 2006 -0700 @@ -303,7 +303,7 @@ 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