##// END OF EJS Templates
fix push over HTTP to older servers
Alexis S. L. Carvalho -
r3703:e674cae8 default
parent child Browse files
Show More
@@ -328,8 +328,14 b' class httprepository(remoterepository):'
328
328
329 type = ""
329 type = ""
330 types = self.capable('unbundle')
330 types = self.capable('unbundle')
331 # servers older than d1b16a746db6 will send 'unbundle' as a
332 # boolean capability
333 try:
334 types = types.split(',')
335 except AttributeError:
336 types = [""]
331 if types:
337 if types:
332 for x in types.split(','):
338 for x in types:
333 if x in changegroup.bundletypes:
339 if x in changegroup.bundletypes:
334 type = x
340 type = x
335 break
341 break
General Comments 0
You need to be logged in to leave comments. Login now