bos@564: $ hg init hook-test bos@564: $ cd hook-test bos@564: $ echo '[hooks]' >> .hg/hgrc bos@564: $ echo 'commit = echo committed $HG_NODE' >> .hg/hgrc bos@564: $ cat .hg/hgrc bos@144: [hooks] bos@144: commit = echo committed $HG_NODE bos@564: $ echo a > a bos@564: $ hg add a bos@564: $ hg commit -m 'testing commit hook' bos@144: committed bos@564: