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