#!/bin/sh cd ~/Documents hg commit -m "merge update" hg merge -t internal:other hg update hg addremove hg commit -m "merge update"