mercurial/commands.py
changeset 2165 d821918e3bee
parent 2160 858df1f354c1
child 2167 f5c2c6e69fd7
--- a/mercurial/commands.py	Sun Apr 30 19:30:59 2006 +0200
+++ b/mercurial/commands.py	Sun Apr 30 21:11:22 2006 +0200
@@ -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