mercurial/httprepo.py
changeset 3566 ca24144ed850
parent 3565 9073d7366776
child 3567 3bab1fc0ab75
--- a/mercurial/httprepo.py	Fri Oct 27 18:20:28 2006 +0200
+++ b/mercurial/httprepo.py	Fri Oct 27 18:30:53 2006 +0200
@@ -339,7 +339,7 @@
             try:
                 rfp = self.do_cmd(
                     'unbundle', data=fp,
-                    headers={'content-length': length,
+                    headers={'content-length': str(length),
                              'content-type': 'application/octet-stream'},
                     heads=' '.join(map(hex, heads)))
                 try: