139
139
if not force and _any_local_commits(b, possible_transports):
141
141
'Cannot switch as local commits found in the checkout. '
142
142
'Commit these to the bound branch or use --force to '
144
144
except errors.BoundBranchConnectionFailure as e:
146
146
'Unable to connect to current master branch %(target)s: '
147
147
'%(error)s To switch anyway, use --force.') %