Mercurial > hgbook
view en/examples/hook.ws.simple.out @ 251:2e73abddad21
Avoid converting UTF8-encoded angle brackets into ASCII (per Johannes Hoff).
Finally write up what fixhtml.py is actually doing.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 30 May 2007 21:50:21 -0700 |
parents | e67251ac336f |
children | 00f69e8825c5 |
line wrap: on
line source
$ \textbf{cat .hg/hgrc} [hooks] pretxncommit.whitespace = hg export tip | (! egrep -q '^\textbackslash{}+.*[ \textbackslash{}t]$') $ \textbf{echo 'a ' > a} $ \textbf{hg commit -A -m 'test with trailing whitespace'} adding a abort: pretxncommit.whitespace hook exited with status 1 transaction abort! rollback completed $ \textbf{echo 'a' > a} $ \textbf{hg commit -A -m 'drop trailing whitespace and try again'}