hgbook

diff en/examples/hook.ws @ 286:f992b16d18a1

hg-interdiff: handle single-file diffs
author Nicholas Riley <njriley@uiuc.edu>
date Sun Jan 13 08:16:21 2008 -0800 (2008-01-13)
parents 06d18465df03
children
line diff
     1.1 --- a/en/examples/hook.ws	Mon Mar 26 22:45:48 2007 -0700
     1.2 +++ b/en/examples/hook.ws	Sun Jan 13 08:16:21 2008 -0800
     1.3 @@ -3,7 +3,7 @@
     1.4  hg init a
     1.5  cd a
     1.6  echo '[hooks]' > .hg/hgrc
     1.7 -echo "pretxncommit.whitespace = hg export tip | (! grep -qP '^\\+.*[ \\t]$')" >> .hg/hgrc
     1.8 +echo "pretxncommit.whitespace = hg export tip | (! egrep -q '^\\+.*[ \\t]$')" >> .hg/hgrc
     1.9  
    1.10  #$ name: simple
    1.11