mercurial/hbisect.py
changeset 14894 3db92e3948d5
parent 14893 01e0091679c0
child 14895 a35d6f822e3e
equal deleted inserted replaced
14893:01e0091679c0 14894:3db92e3948d5
    41             for prev in clparents(rev):
    41             for prev in clparents(rev):
    42                 if ancestors[prev] == []:
    42                 if ancestors[prev] == []:
    43                     ancestors[rev] = []
    43                     ancestors[rev] = []
    44 
    44 
    45         # clear good revs from array
    45         # clear good revs from array
    46         for node in goodrevs:
    46         for rev in goodrevs:
    47             ancestors[node] = None
    47             ancestors[rev] = None
    48         for rev in xrange(len(changelog), goodrev, -1):
    48         for rev in xrange(len(changelog), goodrev, -1):
    49             if ancestors[rev] is None:
    49             if ancestors[rev] is None:
    50                 for prev in clparents(rev):
    50                 for prev in clparents(rev):
    51                     ancestors[prev] = None
    51                     ancestors[prev] = None
    52 
    52