##// END OF EJS Templates
wireprotocol: fix 'boolean' handling...
Pierre-Yves David -
r22351:7e6dd496 default
parent child Browse files
Show More
@@ -351,7 +351,7 b' class wirepeer(peer.peerrepository):'
351 351 elif keytype == 'csv':
352 352 value = ','.join(value)
353 353 elif keytype == 'boolean':
354 value = bool(value)
354 value = '%i' % bool(value)
355 355 elif keytype != 'plain':
356 356 raise KeyError('unknown getbundle option type %s'
357 357 % keytype)
@@ -656,7 +656,7 b' def getbundle(repo, proto, others):'
656 656 elif keytype == 'csv':
657 657 opts[k] = set(v.split(','))
658 658 elif keytype == 'boolean':
659 opts[k] = '%i' % bool(v)
659 opts[k] = bool(v)
660 660 elif keytype != 'plain':
661 661 raise KeyError('unknown getbundle option type %s'
662 662 % keytype)
General Comments 0
You need to be logged in to leave comments. Login now