I had some cases where I had pending changes on my local copy and the script silent failed. This will make sure people using this script would notice any failure during a merge