Show More
@@ -328,8 +328,14 class httprepository(remoterepository): | |||
|
328 | 328 | |
|
329 | 329 | type = "" |
|
330 | 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 | 337 | if types: |
|
332 |
for x in types |
|
|
338 | for x in types: | |
|
333 | 339 | if x in changegroup.bundletypes: |
|
334 | 340 | type = x |
|
335 | 341 | break |
General Comments 0
You need to be logged in to leave comments.
Login now