#!/usr/bin/env bash if [ $# -eq 0 ]; then echo 'Where is my commit message, huh?' exit 1 fi hg addremove hg commit -m ''"$*"'' hg push