Show More
@@ -351,7 +351,7 b' class wirepeer(peer.peerrepository):' | |||||
351 | elif keytype == 'csv': |
|
351 | elif keytype == 'csv': | |
352 | value = ','.join(value) |
|
352 | value = ','.join(value) | |
353 | elif keytype == 'boolean': |
|
353 | elif keytype == 'boolean': | |
354 | value = bool(value) |
|
354 | value = '%i' % bool(value) | |
355 | elif keytype != 'plain': |
|
355 | elif keytype != 'plain': | |
356 | raise KeyError('unknown getbundle option type %s' |
|
356 | raise KeyError('unknown getbundle option type %s' | |
357 | % keytype) |
|
357 | % keytype) | |
@@ -656,7 +656,7 b' def getbundle(repo, proto, others):' | |||||
656 | elif keytype == 'csv': |
|
656 | elif keytype == 'csv': | |
657 | opts[k] = set(v.split(',')) |
|
657 | opts[k] = set(v.split(',')) | |
658 | elif keytype == 'boolean': |
|
658 | elif keytype == 'boolean': | |
659 |
opts[k] = |
|
659 | opts[k] = bool(v) | |
660 | elif keytype != 'plain': |
|
660 | elif keytype != 'plain': | |
661 | raise KeyError('unknown getbundle option type %s' |
|
661 | raise KeyError('unknown getbundle option type %s' | |
662 | % keytype) |
|
662 | % keytype) |
General Comments 0
You need to be logged in to leave comments.
Login now