hgbook
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/it/examples/hook.simple.ext.it Sat Aug 15 18:03:50 2009 +0200 1.3 @@ -0,0 +1,8 @@ 1.4 +<!-- BEGIN hook.simple.ext --> 1.5 +<screen><prompt>$</prompt> <userinput>echo 'commit.quando = echo -n "data di inserimento: "; date' >> .hg/hgrc</userinput> 1.6 +<prompt>$</prompt> <userinput>echo a >> a</userinput> 1.7 +<prompt>$</prompt> <userinput>hg commit -m 'Ho due hook.'</userinput> 1.8 +inserito c62525b70eac19cfd72060e1654e8c62eab4ebee 1.9 +data di inserimento: Fri Jun 5 15:50:28 GMT 2009 1.10 +</screen> 1.11 +<!-- END hook.simple.ext -->