hgbook

diff it/examples/hook.msglen.go.it @ 850:5bbebcdfb533

You wouldn't believe me if I told you.
author gpiancastelli
date Sat Aug 22 18:49:12 2009 +0200 (2009-08-22)
parents 26b05b7dd445
children 719b03ea27c8
line diff
     1.1 --- a/it/examples/hook.msglen.go.it	Thu Aug 13 18:57:50 2009 +0200
     1.2 +++ b/it/examples/hook.msglen.go.it	Sat Aug 22 18:49:12 2009 +0200
     1.3 @@ -4,10 +4,10 @@
     1.4  pretxncommit.lunghezza_messaggio = test `hg tip --template {desc} | wc -c` -ge 15
     1.5  <prompt>$</prompt> <userinput>echo a &gt; a</userinput>
     1.6  <prompt>$</prompt> <userinput>hg add a</userinput>
     1.7 -<prompt>$</prompt> <userinput>hg commit -A -m 'Troppo breve.'</userinput>
     1.8 +<prompt>$</prompt> <userinput>hg commit -A -m "Troppo breve."</userinput>
     1.9  transazione abortita!
    1.10  ripristino completato
    1.11  fallimento: l'hook pretxncommit.lunghezza_messaggio รจ terminato con codice di stato 1
    1.12 -<prompt>$</prompt> <userinput>hg commit -A -m 'Abbastanza lungo.'</userinput>
    1.13 +<prompt>$</prompt> <userinput>hg commit -A -m "Abbastanza lungo."</userinput>
    1.14  </screen>
    1.15  <!-- END hook.msglen.go -->