hgbook
view it/examples/hook.simple.ext.it @ 1055:4f899bb4d0dd
1.6.5 refined
author | zhaopingsun |
---|---|
date | Tue Nov 10 19:48:42 2009 -0500 (2009-11-10) |
parents | 26b05b7dd445 |
children | 719b03ea27c8 |
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 -->