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