bos@194: $ \textbf{cat .hg/hgrc} bos@194: [hooks] bos@194: pretxncommit.msglen = test `hg tip --template \{desc\} | wc -c` -ge 10 bos@194: $ \textbf{echo a > a} bos@194: $ \textbf{hg add a} bos@194: $ \textbf{hg commit -A -m 'too short'} bos@194: abort: pretxncommit.msglen hook exited with status 1 bos@194: transaction abort! bos@194: rollback completed bos@194: $ \textbf{hg commit -A -m 'long enough'}