equal
deleted
inserted
replaced
171 if tot == 1: |
171 if tot == 1: |
172 if ancestors.pop() != self.badrev: |
172 if ancestors.pop() != self.badrev: |
173 self.ui.warn("Could not find the first bad revision\n") |
173 self.ui.warn("Could not find the first bad revision\n") |
174 sys.exit(1) |
174 sys.exit(1) |
175 self.ui.write( |
175 self.ui.write( |
176 "The first bad revision is : %s\n" % hg.hex(self.badrev)) |
176 "The first bad revision is: %s\n" % hg.hex(self.badrev)) |
177 sys.exit(0) |
177 sys.exit(0) |
178 self.ui.write("%d revisions left\n" % tot) |
178 self.ui.write("%d revisions left\n" % tot) |
179 best_rev = None |
179 best_rev = None |
180 best_len = -1 |
180 best_len = -1 |
181 for n in ancestors: |
181 for n in ancestors: |