#!/bin/sh cat > $HGRCPATH < foo hg ci -Amfoo echo '% with opts' hg cleanst