changeset 14494 | 1ffeeb91c55d |
parent 13554 | 22565ddb28e7 |
child 17970 | 0b03454abae7 |
14493:5cc7905bccc9 | 14494:1ffeeb91c55d |
---|---|
74 gy = y.next() |
74 gy = y.next() |
75 |
75 |
76 # increment each ancestor list until it is closer to root than |
76 # increment each ancestor list until it is closer to root than |
77 # the other, or they match |
77 # the other, or they match |
78 try: |
78 try: |
79 while 1: |
79 while True: |
80 if gx[0] == gy[0]: |
80 if gx[0] == gy[0]: |
81 for v in gx[1]: |
81 for v in gx[1]: |
82 if v in gy[1]: |
82 if v in gy[1]: |
83 return v |
83 return v |
84 gy = y.next() |
84 gy = y.next() |