contrib/hbisect.py
changeset 1559 59b3639df0a9
parent 1367 a7678cbd7c28
child 1618 ff339dd21976
equal deleted inserted replaced
1554:68ec7b9e09a4 1559:59b3639df0a9
    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