This change is faulty:
- 'Unrecognized branch type: %r' % (branch_type,)) + 'Unrecognized branch type: %r' % branch_type)
if branch_type is a tuple with length != 1, it will blow up in your version, and for a error code path thats undesirable. I haven't done a full review - was glancing in email and this jumped out at me.
« Back to merge proposal
This change is faulty:
- 'Unrecognized branch type: %r' % (branch_type,))
+ 'Unrecognized branch type: %r' % branch_type)
if branch_type is a tuple with length != 1, it will blow up in your version, and for a error code path thats undesirable. I haven't done a full review - was glancing in email and this jumped out at me.