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