hgbook

diff it/examples/hook.simple.pretxncommit.it @ 1085:b71b3f734904

2.4.2 first para unfinished
author Zhaoping Sun <zhaopingsun@gmail.com>
date Fri Nov 20 23:21:46 2009 -0500 (2009-11-20)
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	Fri Nov 20 23:21:46 2009 -0500
     1.3 @@ -5,11 +5,11 @@
     1.4  hg log -r $1 --template {desc} | grep -q "\&lt;bug *[0-9]"
     1.5  <prompt>$</prompt> <userinput>echo 'pretxncommit.bug_id_richiesto = ./controlla_bug_id $HG_NODE' &gt;&gt; .hg/hgrc</userinput>
     1.6  <prompt>$</prompt> <userinput>echo a &gt;&gt; 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>