hgbook
diff en/examples/hook.ws.simple.out @ 167:e67251ac336f
Small portability change. "grep -P" doesn't work on Debian.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue Mar 27 01:15:34 2007 -0500 (2007-03-27) |
parents | 006bbad1f190 |
children | 00f69e8825c5 |
line diff
1.1 --- a/en/examples/hook.ws.simple.out Tue Mar 06 21:44:56 2007 -0800 1.2 +++ b/en/examples/hook.ws.simple.out Tue Mar 27 01:15:34 2007 -0500 1.3 @@ -1,6 +1,6 @@ 1.4 $ \textbf{cat .hg/hgrc} 1.5 [hooks] 1.6 -pretxncommit.whitespace = hg export tip | (! grep -qP '^\textbackslash{}+.*[ \textbackslash{}t]$') 1.7 +pretxncommit.whitespace = hg export tip | (! egrep -q '^\textbackslash{}+.*[ \textbackslash{}t]$') 1.8 $ \textbf{echo 'a ' > a} 1.9 $ \textbf{hg commit -A -m 'test with trailing whitespace'} 1.10 adding a