mercurial/httprepo.py
changeset 14244 e7525a555a64
parent 14149 091c86a77d19
child 14245 13d44e4235f8
--- a/mercurial/httprepo.py	Fri May 06 09:57:55 2011 -0500
+++ b/mercurial/httprepo.py	Fri May 06 10:22:08 2011 -0500
@@ -8,7 +8,7 @@
 
 from node import nullid
 from i18n import _
-import changegroup, statichttprepo, error, url, util, wireproto
+import changegroup, statichttprepo, error, httpconnection, url, util, wireproto
 import os, urllib, urllib2, zlib, httplib
 import errno, socket
 
@@ -180,7 +180,7 @@
                 break
 
         tempname = changegroup.writebundle(cg, None, type)
-        fp = url.httpsendfile(self.ui, tempname, "rb")
+        fp = httpconnection.httpsendfile(self.ui, tempname, "rb")
         headers = {'Content-Type': 'application/mercurial-0.1'}
 
         try: