hgbook
view it/examples/hook.simple.ext.it @ 814:99c201b30491
Minor changes and translation of code snippets for Ch.13.
author | Giulio@puck |
---|---|
date | Sat Aug 15 18:03:50 2009 +0200 (2009-08-15) |
parents | |
children | 5bbebcdfb533 |
line source
1 <!-- BEGIN hook.simple.ext -->
2 <screen><prompt>$</prompt> <userinput>echo 'commit.quando = echo -n "data di inserimento: "; date' >> .hg/hgrc</userinput>
3 <prompt>$</prompt> <userinput>echo a >> a</userinput>
4 <prompt>$</prompt> <userinput>hg commit -m 'Ho due hook.'</userinput>
5 inserito c62525b70eac19cfd72060e1654e8c62eab4ebee
6 data di inserimento: Fri Jun 5 15:50:28 GMT 2009
7 </screen>
8 <!-- END hook.simple.ext -->