Mercurial > hgbook
view en/examples/hook.simple.init.out @ 173:754312dc23d5
If something times out, try to tell what it was.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 27 Mar 2007 15:45:12 -0700 |
parents | 006bbad1f190 |
children |
line wrap: on
line source
$ \textbf{hg init hook-test} $ \textbf{cd hook-test} $ \textbf{echo '[hooks]' >> .hg/hgrc} $ \textbf{echo 'commit = echo committed $HG_NODE' >> .hg/hgrc} $ \textbf{cat .hg/hgrc} [hooks] commit = echo committed $HG_NODE $ \textbf{echo a > a} $ \textbf{hg add a} $ \textbf{hg commit -m 'testing commit hook'} committed