Mercurial > hgbook
view en/examples/hook.simple.init.out @ 499:f89ee6f63ea2
Archivo to Fichero and update Leame.1st
author | Igor TAmara <igor@tamarapatino.org> |
---|---|
date | Thu, 06 Nov 2008 23:09:47 -0500 |
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