hgbook
diff en/examples/results/hook.ws.better.out @ 605:a21668c4af50
Add top-level README
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri Mar 27 10:08:39 2009 -0700 (2009-03-27) |
parents | 44d1363234d2 |
children | 4432ad34b8e5 |
line diff
1.1 --- a/en/examples/results/hook.ws.better.out Mon Mar 09 21:37:47 2009 -0700 1.2 +++ b/en/examples/results/hook.ws.better.out Fri Mar 27 10:08:39 2009 -0700 1.3 @@ -1,17 +1,18 @@ 1.4 -$ \textbf{cat .hg/hgrc} 1.5 +<screen><prompt>$</prompt> <userinput>cat .hg/hgrc</userinput> 1.6 [hooks] 1.7 pretxncommit.whitespace = .hg/check_whitespace.py 1.8 -$ \textbf{echo 'a ' >> a} 1.9 -$ \textbf{hg commit -A -m 'add new line with trailing whitespace'} 1.10 +<prompt>$</prompt> <userinput>echo 'a ' >> a</userinput> 1.11 +<prompt>$</prompt> <userinput>hg commit -A -m 'add new line with trailing whitespace'</userinput> 1.12 a, line 2: trailing whitespace added 1.13 commit message saved to .hg/commit.save 1.14 transaction abort! 1.15 rollback completed 1.16 abort: pretxncommit.whitespace hook exited with status 1 1.17 -$ \textbf{sed -i 's, *$,,' a} 1.18 -$ \textbf{hg commit -A -m 'trimmed trailing whitespace'} 1.19 +<prompt>$</prompt> <userinput>sed -i 's, *$,,' a</userinput> 1.20 +<prompt>$</prompt> <userinput>hg commit -A -m 'trimmed trailing whitespace'</userinput> 1.21 a, line 2: trailing whitespace added 1.22 commit message saved to .hg/commit.save 1.23 transaction abort! 1.24 rollback completed 1.25 abort: pretxncommit.whitespace hook exited with status 1 1.26 +</screen>