Mercurial > hgbook
view en/examples/results/hook.simple.init.out @ 662:44d1363234d2
Move example output files into examples/results
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 09 Mar 2009 21:37:47 -0700 |
parents | en/examples/hook.simple.init.out@006bbad1f190 |
children | 0d5935744f87 |
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