hgbook

view en/examples/bisect.commits.out @ 144:006bbad1f190

Add expected output files.
This makes it possible to spot changes in Mercurial's output and
behaviour over time.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Mar 06 21:44:56 2007 -0800 (2007-03-06)
parents
children 4aecfa5c3ab0
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}