#!/bin/bash hg init diff cd diff cat > myfile.c <> $HGRC echo 'showfunc = False' >> $HGRC hg diff hg diff -p