Mercurial > hgbook
view en/examples/hook.ws.simple.out @ 192:06ab90119fa6
Be more conservative in timeouts.
Needed on my new, slower (!?) laptop.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon, 16 Apr 2007 14:39:51 -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'}