Source

hgbook / it / examples / hook.simple.ext.it

Full commit
1
2
3
4
5
6
7
8
<!-- BEGIN hook.simple.ext -->
<screen><prompt>$</prompt> <userinput>echo 'commit.quando = echo -n "data di inserimento: "; date' &gt;&gt; .hg/hgrc</userinput>
<prompt>$</prompt> <userinput>echo a &gt;&gt; a</userinput>
<prompt>$</prompt> <userinput>hg commit -m 'Ho due hook.'</userinput>
inserito c62525b70eac19cfd72060e1654e8c62eab4ebee
data di inserimento: Fri Jun  5 15:50:28 GMT 2009
</screen>
<!-- END hook.simple.ext -->