Show More
@@ -187,7 +187,7 b' class bisect(object):' | |||||
187 | check_clean(self.ui, self.repo) |
|
187 | check_clean(self.ui, self.repo) | |
188 | rev = self.next() |
|
188 | rev = self.next() | |
189 | self.ui.write("Now testing %s\n" % hg.hex(rev)) |
|
189 | self.ui.write("Now testing %s\n" % hg.hex(rev)) | |
190 |
return self.repo.update(rev, |
|
190 | return self.repo.update(rev, force=True) | |
191 |
|
191 | |||
192 | def good(self, rev): |
|
192 | def good(self, rev): | |
193 | self.goodrevs.append(rev) |
|
193 | self.goodrevs.append(rev) | |
@@ -232,7 +232,7 b' def test(ui, repo, rev):' | |||||
232 | b.good(new_rev) |
|
232 | b.good(new_rev) | |
233 | ui.write("it is good\n") |
|
233 | ui.write("it is good\n") | |
234 | anc = b.ancestors() |
|
234 | anc = b.ancestors() | |
235 |
repo.update(new_rev, |
|
235 | repo.update(new_rev, force=True) | |
236 | for v in anc: |
|
236 | for v in anc: | |
237 | if v != rev: |
|
237 | if v != rev: | |
238 | ui.warn("fail to found cset! :(\n") |
|
238 | ui.warn("fail to found cset! :(\n") |
General Comments 0
You need to be logged in to leave comments.
Login now