hgbook

diff it/examples/ch09-hook.ws.better.it @ 882:50d09b8f3c4f

Remove /tmp/REV*-hello when clean
author Dongsheng Song <dongsheng.song@gmail.com>
date Wed Oct 21 16:33:28 2009 +0800 (2009-10-21)
parents 7252e7b7f07d
children 719b03ea27c8
line diff
     1.1 --- a/it/examples/ch09-hook.ws.better.it	Fri Aug 21 22:29:44 2009 +0200
     1.2 +++ b/it/examples/ch09-hook.ws.better.it	Wed Oct 21 16:33:28 2009 +0800
     1.3 @@ -3,13 +3,13 @@
     1.4  [hooks]
     1.5  pretxncommit.spazio_bianco = .hg/controllo_spazio_bianco.py
     1.6  <prompt>$</prompt> <userinput>echo 'a ' &gt;&gt; a</userinput>
     1.7 -<prompt>$</prompt> <userinput>hg commit -A -m 'Aggiunge una nuova riga con spazio bianco in coda.'</userinput>
     1.8 +<prompt>$</prompt> <userinput>hg commit -A -m "Aggiunge una nuova riga con spazio bianco in coda."</userinput>
     1.9  a, riga 1: aggiunto spazio bianco in coda
    1.10  messaggio di commit salvato nel file .hg/commit.save
    1.11  transazione abortita!
    1.12  ripristino completato
    1.13  fallimento: l'hook pretxncommit.spazio_bianco รจ terminato con codice di stato 1
    1.14  <prompt>$</prompt> <userinput>sed -i 's, *$,,' a</userinput>
    1.15 -<prompt>$</prompt> <userinput>hg commit -A -m 'Rimosso spazio bianco in coda.'</userinput>
    1.16 +<prompt>$</prompt> <userinput>hg commit -A -m "Rimosso spazio bianco in coda."</userinput>
    1.17  </screen>
    1.18  <!-- END ch09/hook.ws.better -->