annotate en/examples/results/hook.ws.better.out @ 598:7893b3824715
Add a top-level index page.
author |
Bryan O'Sullivan <bos@serpentine.com> |
date |
Fri Mar 27 00:01:58 2009 -0700 (2009-03-27) |
parents |
44d1363234d2 |
children |
4432ad34b8e5 |
rev |
line source |
bos@564
|
1 <screen><prompt>$</prompt> <userinput>cat .hg/hgrc</userinput>
|
bos@144
|
2 [hooks]
|
bos@150
|
3 pretxncommit.whitespace = .hg/check_whitespace.py
|
bos@564
|
4 <prompt>$</prompt> <userinput>echo 'a ' >> a</userinput>
|
bos@564
|
5 <prompt>$</prompt> <userinput>hg commit -A -m 'add new line with trailing whitespace'</userinput>
|
bos@144
|
6 a, line 2: trailing whitespace added
|
bos@144
|
7 commit message saved to .hg/commit.save
|
bos@144
|
8 transaction abort!
|
bos@144
|
9 rollback completed
|
bos@273
|
10 abort: pretxncommit.whitespace hook exited with status 1
|
bos@564
|
11 <prompt>$</prompt> <userinput>sed -i 's, *$,,' a</userinput>
|
bos@564
|
12 <prompt>$</prompt> <userinput>hg commit -A -m 'trimmed trailing whitespace'</userinput>
|
bos@165
|
13 a, line 2: trailing whitespace added
|
bos@144
|
14 commit message saved to .hg/commit.save
|
bos@144
|
15 transaction abort!
|
bos@144
|
16 rollback completed
|
bos@273
|
17 abort: pretxncommit.whitespace hook exited with status 1
|
bos@564
|
18 </screen>
|