mercurial/httppeer.py
changeset 23895 cda18ded2c48
parent 23086 cde6904f1992
child 25085 e05734cd7902
equal deleted inserted replaced
23894:f388ceae2250 23895:cda18ded2c48
   191         for x in types:
   191         for x in types:
   192             if x in changegroup.bundletypes:
   192             if x in changegroup.bundletypes:
   193                 type = x
   193                 type = x
   194                 break
   194                 break
   195 
   195 
   196         tempname = changegroup.writebundle(cg, None, type)
   196         tempname = changegroup.writebundle(self.ui, cg, None, type)
   197         fp = httpconnection.httpsendfile(self.ui, tempname, "rb")
   197         fp = httpconnection.httpsendfile(self.ui, tempname, "rb")
   198         headers = {'Content-Type': 'application/mercurial-0.1'}
   198         headers = {'Content-Type': 'application/mercurial-0.1'}
   199 
   199 
   200         try:
   200         try:
   201             try:
   201             try: