hgbook

diff en/examples/bisect.commits.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 4aecfa5c3ab0
children f8b5b782e150
line diff
     1.1 --- a/en/examples/bisect.commits.out	Tue Mar 06 21:55:07 2007 -0800
     1.2 +++ b/en/examples/bisect.commits.out	Tue Mar 27 01:15:34 2007 -0500
     1.3 @@ -1,10 +1,10 @@
     1.4 -
     1.5 -
     1.6 -
     1.7 -
     1.8 -
     1.9 -
    1.10 -
    1.11 -
    1.12 -
    1.13 -
    1.14 +$ \textbf{buggy_change=37}
    1.15 +$ \textbf{for (( i = 0; i < 50; i++ )); do}
    1.16 +> \textbf{  if [[ $i = $buggy_change ]]; then}
    1.17 +> \textbf{    echo 'i have a gub' > myfile$i}
    1.18 +> \textbf{    hg commit -q -A -m 'buggy changeset'}
    1.19 +> \textbf{  else}
    1.20 +> \textbf{    echo 'nothing to see here, move along' > myfile$i}
    1.21 +> \textbf{    hg commit -q -A -m 'normal changeset'}
    1.22 +> \textbf{  fi}
    1.23 +> \textbf{done}