Mercurial > hgbook
comparison en/examples/results/hook.ws.better.out @ 709:4432ad34b8e5
Check in example outputs with begin/end markers.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 31 Mar 2009 12:19:01 -0700 |
parents | 0d5935744f87 |
children |
comparison
equal
deleted
inserted
replaced
708:c82ff69f0935 | 709:4432ad34b8e5 |
---|---|
1 <!-- BEGIN hook.ws.better --> | |
1 <screen><prompt>$</prompt> <userinput>cat .hg/hgrc</userinput> | 2 <screen><prompt>$</prompt> <userinput>cat .hg/hgrc</userinput> |
2 [hooks] | 3 [hooks] |
3 pretxncommit.whitespace = .hg/check_whitespace.py | 4 pretxncommit.whitespace = .hg/check_whitespace.py |
4 <prompt>$</prompt> <userinput>echo 'a ' >> a</userinput> | 5 <prompt>$</prompt> <userinput>echo 'a ' >> a</userinput> |
5 <prompt>$</prompt> <userinput>hg commit -A -m 'add new line with trailing whitespace'</userinput> | 6 <prompt>$</prompt> <userinput>hg commit -A -m 'add new line with trailing whitespace'</userinput> |
14 commit message saved to .hg/commit.save | 15 commit message saved to .hg/commit.save |
15 transaction abort! | 16 transaction abort! |
16 rollback completed | 17 rollback completed |
17 abort: pretxncommit.whitespace hook exited with status 1 | 18 abort: pretxncommit.whitespace hook exited with status 1 |
18 </screen> | 19 </screen> |
20 <!-- END hook.ws.better --> |