hgbook
diff it/examples/hook.simple.pretxncommit.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 diff
1.1 --- a/it/examples/hook.simple.pretxncommit.it Thu Aug 13 18:57:50 2009 +0200 1.2 +++ b/it/examples/hook.simple.pretxncommit.it Tue Nov 10 19:48:42 2009 -0500 1.3 @@ -5,11 +5,11 @@ 1.4 hg log -r $1 --template {desc} | grep -q "\<bug *[0-9]" 1.5 <prompt>$</prompt> <userinput>echo 'pretxncommit.bug_id_richiesto = ./controlla_bug_id $HG_NODE' >> .hg/hgrc</userinput> 1.6 <prompt>$</prompt> <userinput>echo a >> a</userinput> 1.7 -<prompt>$</prompt> <userinput>hg commit -m 'Non ho menzionato alcun identificatore di bug.'</userinput> 1.8 +<prompt>$</prompt> <userinput>hg commit -m "Non ho menzionato alcun identificatore di bug."</userinput> 1.9 transazione abortita! 1.10 ripristino completato 1.11 fallimento: l'hook pretxncommit.bug_id_richiesto รจ terminato con codice di stato 1 1.12 -<prompt>$</prompt> <userinput>hg commit -m 'Vi rimando al bug 666.'</userinput> 1.13 +<prompt>$</prompt> <userinput>hg commit -m "Vi rimando al bug 666."</userinput> 1.14 inserito f753cb1e1e77ea944429e1a84d8728e96b41446e 1.15 data di inserimento: Fri Jun 5 15:50:29 GMT 2009 1.16 </screen>