mercurial/changegroup.py
changeset 3859 8c24b6fd5866
parent 3762 b9d3e12da485
child 3877 abaee83ce0a6
--- a/mercurial/changegroup.py	Sun Dec 10 16:24:21 2006 +0100
+++ b/mercurial/changegroup.py	Sun Dec 10 19:41:57 2006 +0100
@@ -99,7 +99,7 @@
         if cleanup is not None:
             os.unlink(cleanup)
 
-def readbundle(fh):
+def readbundle(fh, fname):
     header = fh.read(6)
     if not header.startswith("HG"):
         raise util.Abort(_("%s: not a Mercurial bundle file") % fname)