Better error management

pull/26/head
Louis Vézina 7 years ago
parent 6c5419716d
commit 9cd5a5d304

@ -40,8 +40,9 @@ def check_and_apply_update(repo=local_repo, remote_name='origin'):
user,
'Merge!',
tree,
[repo.head.target, remote_master_id])
[repo.head.target, remote_id])
repo.state_cleanup()
else:
raise AssertionError('Unknown merge analysis result')
return result

Loading…
Cancel
Save