hgbook

view 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 source
1 $ \textbf{buggy_change=37}
2 $ \textbf{for (( i = 0; i < 50; i++ )); do}
3 > \textbf{ if [[ $i = $buggy_change ]]; then}
4 > \textbf{ echo 'i have a gub' > myfile$i}
5 > \textbf{ hg commit -q -A -m 'buggy changeset'}
6 > \textbf{ else}
7 > \textbf{ echo 'nothing to see here, move along' > myfile$i}
8 > \textbf{ hg commit -q -A -m 'normal changeset'}
9 > \textbf{ fi}
10 > \textbf{done}