Show More
@@ -0,0 +1,37 b'' | |||
|
1 | #!/bin/sh | |
|
2 | ||
|
3 | set -e | |
|
4 | ||
|
5 | HGRCPATH=$HGTMP/.hgrc; export HGRCPATH | |
|
6 | echo "[extensions]" >> $HGTMP/.hgrc | |
|
7 | echo "hbisect=" >> $HGTMP/.hgrc | |
|
8 | ||
|
9 | echo % init | |
|
10 | hg init | |
|
11 | ||
|
12 | echo % committing changes | |
|
13 | count=0 | |
|
14 | echo > a | |
|
15 | while test $count -lt 32 ; do | |
|
16 | echo 'a' >> a | |
|
17 | test $count -eq 0 && hg add | |
|
18 | hg ci -m "msg $count" -d "$count 0" | |
|
19 | echo % committed changeset $count | |
|
20 | count=$(( $count + 1 )) | |
|
21 | done | |
|
22 | ||
|
23 | echo % log | |
|
24 | hg log | |
|
25 | ||
|
26 | echo % hg up -C | |
|
27 | hg up -C | |
|
28 | ||
|
29 | echo % bisect test | |
|
30 | hg bisect init | |
|
31 | hg bisect bad | |
|
32 | hg bisect good 1 | |
|
33 | hg bisect good | |
|
34 | hg bisect good | |
|
35 | hg bisect good | |
|
36 | hg bisect bad | |
|
37 | hg bisect good |
@@ -0,0 +1,216 b'' | |||
|
1 | % init | |
|
2 | % committing changes | |
|
3 | adding a | |
|
4 | % committed changeset 0 | |
|
5 | % committed changeset 1 | |
|
6 | % committed changeset 2 | |
|
7 | % committed changeset 3 | |
|
8 | % committed changeset 4 | |
|
9 | % committed changeset 5 | |
|
10 | % committed changeset 6 | |
|
11 | % committed changeset 7 | |
|
12 | % committed changeset 8 | |
|
13 | % committed changeset 9 | |
|
14 | % committed changeset 10 | |
|
15 | % committed changeset 11 | |
|
16 | % committed changeset 12 | |
|
17 | % committed changeset 13 | |
|
18 | % committed changeset 14 | |
|
19 | % committed changeset 15 | |
|
20 | % committed changeset 16 | |
|
21 | % committed changeset 17 | |
|
22 | % committed changeset 18 | |
|
23 | % committed changeset 19 | |
|
24 | % committed changeset 20 | |
|
25 | % committed changeset 21 | |
|
26 | % committed changeset 22 | |
|
27 | % committed changeset 23 | |
|
28 | % committed changeset 24 | |
|
29 | % committed changeset 25 | |
|
30 | % committed changeset 26 | |
|
31 | % committed changeset 27 | |
|
32 | % committed changeset 28 | |
|
33 | % committed changeset 29 | |
|
34 | % committed changeset 30 | |
|
35 | % committed changeset 31 | |
|
36 | % log | |
|
37 | changeset: 31:58c80a7c8a40 | |
|
38 | tag: tip | |
|
39 | user: test | |
|
40 | date: Thu Jan 01 00:00:31 1970 +0000 | |
|
41 | summary: msg 31 | |
|
42 | ||
|
43 | changeset: 30:ed2d2f24b11c | |
|
44 | user: test | |
|
45 | date: Thu Jan 01 00:00:30 1970 +0000 | |
|
46 | summary: msg 30 | |
|
47 | ||
|
48 | changeset: 29:b5bd63375ab9 | |
|
49 | user: test | |
|
50 | date: Thu Jan 01 00:00:29 1970 +0000 | |
|
51 | summary: msg 29 | |
|
52 | ||
|
53 | changeset: 28:8e0c2264c8af | |
|
54 | user: test | |
|
55 | date: Thu Jan 01 00:00:28 1970 +0000 | |
|
56 | summary: msg 28 | |
|
57 | ||
|
58 | changeset: 27:288867a866e9 | |
|
59 | user: test | |
|
60 | date: Thu Jan 01 00:00:27 1970 +0000 | |
|
61 | summary: msg 27 | |
|
62 | ||
|
63 | changeset: 26:3efc6fd51aeb | |
|
64 | user: test | |
|
65 | date: Thu Jan 01 00:00:26 1970 +0000 | |
|
66 | summary: msg 26 | |
|
67 | ||
|
68 | changeset: 25:02a84173a97a | |
|
69 | user: test | |
|
70 | date: Thu Jan 01 00:00:25 1970 +0000 | |
|
71 | summary: msg 25 | |
|
72 | ||
|
73 | changeset: 24:10e0acd3809e | |
|
74 | user: test | |
|
75 | date: Thu Jan 01 00:00:24 1970 +0000 | |
|
76 | summary: msg 24 | |
|
77 | ||
|
78 | changeset: 23:5ec79163bff4 | |
|
79 | user: test | |
|
80 | date: Thu Jan 01 00:00:23 1970 +0000 | |
|
81 | summary: msg 23 | |
|
82 | ||
|
83 | changeset: 22:06c7993750ce | |
|
84 | user: test | |
|
85 | date: Thu Jan 01 00:00:22 1970 +0000 | |
|
86 | summary: msg 22 | |
|
87 | ||
|
88 | changeset: 21:e5db6aa3fe2a | |
|
89 | user: test | |
|
90 | date: Thu Jan 01 00:00:21 1970 +0000 | |
|
91 | summary: msg 21 | |
|
92 | ||
|
93 | changeset: 20:7128fb4fdbc9 | |
|
94 | user: test | |
|
95 | date: Thu Jan 01 00:00:20 1970 +0000 | |
|
96 | summary: msg 20 | |
|
97 | ||
|
98 | changeset: 19:52798545b482 | |
|
99 | user: test | |
|
100 | date: Thu Jan 01 00:00:19 1970 +0000 | |
|
101 | summary: msg 19 | |
|
102 | ||
|
103 | changeset: 18:86977a90077e | |
|
104 | user: test | |
|
105 | date: Thu Jan 01 00:00:18 1970 +0000 | |
|
106 | summary: msg 18 | |
|
107 | ||
|
108 | changeset: 17:03515f4a9080 | |
|
109 | user: test | |
|
110 | date: Thu Jan 01 00:00:17 1970 +0000 | |
|
111 | summary: msg 17 | |
|
112 | ||
|
113 | changeset: 16:a2e6ea4973e9 | |
|
114 | user: test | |
|
115 | date: Thu Jan 01 00:00:16 1970 +0000 | |
|
116 | summary: msg 16 | |
|
117 | ||
|
118 | changeset: 15:e7fa0811edb0 | |
|
119 | user: test | |
|
120 | date: Thu Jan 01 00:00:15 1970 +0000 | |
|
121 | summary: msg 15 | |
|
122 | ||
|
123 | changeset: 14:ce8f0998e922 | |
|
124 | user: test | |
|
125 | date: Thu Jan 01 00:00:14 1970 +0000 | |
|
126 | summary: msg 14 | |
|
127 | ||
|
128 | changeset: 13:9d7d07bc967c | |
|
129 | user: test | |
|
130 | date: Thu Jan 01 00:00:13 1970 +0000 | |
|
131 | summary: msg 13 | |
|
132 | ||
|
133 | changeset: 12:1941b52820a5 | |
|
134 | user: test | |
|
135 | date: Thu Jan 01 00:00:12 1970 +0000 | |
|
136 | summary: msg 12 | |
|
137 | ||
|
138 | changeset: 11:7b4cd9578619 | |
|
139 | user: test | |
|
140 | date: Thu Jan 01 00:00:11 1970 +0000 | |
|
141 | summary: msg 11 | |
|
142 | ||
|
143 | changeset: 10:7c5eff49a6b6 | |
|
144 | user: test | |
|
145 | date: Thu Jan 01 00:00:10 1970 +0000 | |
|
146 | summary: msg 10 | |
|
147 | ||
|
148 | changeset: 9:eb44510ef29a | |
|
149 | user: test | |
|
150 | date: Thu Jan 01 00:00:09 1970 +0000 | |
|
151 | summary: msg 9 | |
|
152 | ||
|
153 | changeset: 8:453eb4dba229 | |
|
154 | user: test | |
|
155 | date: Thu Jan 01 00:00:08 1970 +0000 | |
|
156 | summary: msg 8 | |
|
157 | ||
|
158 | changeset: 7:03750880c6b5 | |
|
159 | user: test | |
|
160 | date: Thu Jan 01 00:00:07 1970 +0000 | |
|
161 | summary: msg 7 | |
|
162 | ||
|
163 | changeset: 6:a3d5c6fdf0d3 | |
|
164 | user: test | |
|
165 | date: Thu Jan 01 00:00:06 1970 +0000 | |
|
166 | summary: msg 6 | |
|
167 | ||
|
168 | changeset: 5:7874a09ea728 | |
|
169 | user: test | |
|
170 | date: Thu Jan 01 00:00:05 1970 +0000 | |
|
171 | summary: msg 5 | |
|
172 | ||
|
173 | changeset: 4:9b2ba8336a65 | |
|
174 | user: test | |
|
175 | date: Thu Jan 01 00:00:04 1970 +0000 | |
|
176 | summary: msg 4 | |
|
177 | ||
|
178 | changeset: 3:b53bea5e2fcb | |
|
179 | user: test | |
|
180 | date: Thu Jan 01 00:00:03 1970 +0000 | |
|
181 | summary: msg 3 | |
|
182 | ||
|
183 | changeset: 2:db07c04beaca | |
|
184 | user: test | |
|
185 | date: Thu Jan 01 00:00:02 1970 +0000 | |
|
186 | summary: msg 2 | |
|
187 | ||
|
188 | changeset: 1:5cd978ea5149 | |
|
189 | user: test | |
|
190 | date: Thu Jan 01 00:00:01 1970 +0000 | |
|
191 | summary: msg 1 | |
|
192 | ||
|
193 | changeset: 0:b99c7b9c8e11 | |
|
194 | user: test | |
|
195 | date: Thu Jan 01 00:00:00 1970 +0000 | |
|
196 | summary: msg 0 | |
|
197 | ||
|
198 | % hg up -C | |
|
199 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
200 | % bisect test | |
|
201 | Testing changeset 16:a2e6ea4973e9 (30 changesets remaining, ~4 tests) | |
|
202 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
203 | Testing changeset 23:5ec79163bff4 (15 changesets remaining, ~3 tests) | |
|
204 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
205 | Testing changeset 27:288867a866e9 (8 changesets remaining, ~3 tests) | |
|
206 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
207 | Testing changeset 29:b5bd63375ab9 (4 changesets remaining, ~2 tests) | |
|
208 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
209 | Testing changeset 28:8e0c2264c8af (2 changesets remaining, ~1 tests) | |
|
210 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
211 | The first bad revision is: | |
|
212 | changeset: 29:b5bd63375ab9 | |
|
213 | user: test | |
|
214 | date: Thu Jan 01 00:00:29 1970 +0000 | |
|
215 | summary: msg 29 | |
|
216 |
General Comments 0
You need to be logged in to leave comments.
Login now