hgbook
changeset 131:153efeaa8f57
Fix stupid build bugs.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Thu Dec 28 14:10:23 2006 -0800 (2006-12-28) |
parents | 26b7a4e943aa |
children | e1e2f3e0256a |
files | en/Makefile en/examples/bisect en/undo.tex |
line diff
1.1 --- a/en/Makefile Thu Dec 28 14:06:15 2006 -0800 1.2 +++ b/en/Makefile Thu Dec 28 14:10:23 2006 -0800 1.3 @@ -49,6 +49,7 @@ 1.4 1.5 example-sources := \ 1.6 backout \ 1.7 + bisect \ 1.8 daily.copy \ 1.9 daily.files \ 1.10 daily.rename \
2.1 --- a/en/examples/bisect Thu Dec 28 14:06:15 2006 -0800 2.2 +++ b/en/examples/bisect Thu Dec 28 14:10:23 2006 -0800 2.3 @@ -51,7 +51,7 @@ 2.4 echo this revision is $result 2.5 hg bisect $result 2.6 2.7 -#$ name: mytest 2.8 +#$ name: search.mytest 2.9 2.10 mytest() { 2.11 if grep -q 'i have a gub' *
3.1 --- a/en/undo.tex Thu Dec 28 14:06:15 2006 -0800 3.2 +++ b/en/undo.tex Thu Dec 28 14:10:23 2006 -0800 3.3 @@ -620,17 +620,17 @@ 3.4 \command{grep} command to see if our ``bad'' file is present in the 3.5 working directory. If it is, this revision is bad; if not, this 3.6 revision is good. 3.7 -\interaction{search.step1} 3.8 +\interaction{bisect.search.step1} 3.9 3.10 This test looks like a perfect candidate for automation, so let's turn 3.11 it into a shell function. 3.12 -\interaction{search.mytest} 3.13 +\interaction{bisect.search.mytest} 3.14 We can now run an entire test step with a single command, 3.15 \texttt{mytest}. 3.16 -\interaction{search.step2} 3.17 +\interaction{bisect.search.step2} 3.18 A few more invocations of our canned test step command, and we're 3.19 done. 3.20 -\interaction{search.rest} 3.21 +\interaction{bisect.search.rest} 3.22 3.23 Even though we had~40 changesets to search through, the \hgext{bisect} 3.24 extension let us find the changeset that introduced our ``bug'' with 3.25 @@ -647,7 +647,7 @@ 3.26 doesn't use much space, so it doesn't matter if you forget to run this 3.27 command. However, \hgext{bisect} won't let you start a new search in 3.28 that repository until you do a \hgcmdargs{bisect}{reset}. 3.29 -\interaction{search.reset} 3.30 +\interaction{bisect.search.reset} 3.31 3.32 \section{Tips for finding bugs effectively} 3.33