--- a/mercurial/changegroup.py Wed Nov 22 22:32:23 2006 +0100
+++ b/mercurial/changegroup.py Wed Nov 22 22:33:57 2006 +0100
@@ -54,7 +54,7 @@
"HG10GZ": ("HG10GZ", zlib.compressobj),
}
-def writebundle(cg, filename, type):
+def writebundle(cg, filename, bundletype):
"""Write a bundle file and return its filename.
Existing files will not be overwritten.
@@ -75,7 +75,7 @@
fh = os.fdopen(fd, "wb")
cleanup = filename
- header, compressor = bundletypes[type]
+ header, compressor = bundletypes[bundletype]
fh.write(header)
z = compressor()