equal
deleted
inserted
replaced
24 c, a, d, u = repo.changes() |
24 c, a, d, u = repo.changes() |
25 if c or a or d: |
25 if c or a or d: |
26 ui.warn("Repository is not clean, please commit or revert\n") |
26 ui.warn("Repository is not clean, please commit or revert\n") |
27 sys.exit(1) |
27 sys.exit(1) |
28 |
28 |
29 class bisect: |
29 class bisect(object): |
30 """dichotomic search in the DAG of changesets""" |
30 """dichotomic search in the DAG of changesets""" |
31 def __init__(self, ui, repo): |
31 def __init__(self, ui, repo): |
32 self.repo = repo |
32 self.repo = repo |
33 self.path = os.path.join(repo.join(""), "bisect") |
33 self.path = os.path.join(repo.join(""), "bisect") |
34 self.ui = ui |
34 self.ui = ui |