belaran@976: <!-- BEGIN hook.msglen.go -->
belaran@976: <screen><prompt>$</prompt> <userinput>cat .hg/hgrc</userinput>
belaran@976: [hooks]
belaran@976: pretxncommit.lunghezza_messaggio = test `hg tip --template {desc} | wc -c` -ge 15
belaran@976: <prompt>$</prompt> <userinput>echo a &gt; a</userinput>
belaran@976: <prompt>$</prompt> <userinput>hg add a</userinput>
belaran@976: <prompt>$</prompt> <userinput>hg commit -A -m "Troppo breve."</userinput>
belaran@976: transazione abortita!
belaran@976: ripristino completato
belaran@976: fallimento: l'hook pretxncommit.lunghezza_messaggio รจ terminato con codice di stato 1
belaran@976: <prompt>$</prompt> <userinput>hg commit -A -m "Abbastanza lungo."</userinput>
belaran@976: </screen>
belaran@976: <!-- END hook.msglen.go -->