#!/bin/rc if(~ $1 commit && ~ $#4 0){ echo 'specify some files, moron.' exit } hg $*