equal
deleted
inserted
replaced
95 # | |
95 # | |
96 # | o 1 a1 |
96 # | o 1 a1 |
97 # |/ |
97 # |/ |
98 # o 0 a0 |
98 # o 0 a0 |
99 # |
99 # |
100 # When findlimit is called, a and b are revs 3 and 0, so limit will be 2, |
100 # When _findlimit is called, a and b are revs 3 and 0, so limit will be 2, |
101 # yet the filelog has the copy information in rev 1 and we will not look |
101 # yet the filelog has the copy information in rev 1 and we will not look |
102 # back far enough unless we also look at the a and b as candidates. |
102 # back far enough unless we also look at the a and b as candidates. |
103 # This only occurs when a is a descendent of b or visa-versa. |
103 # This only occurs when a is a descendent of b or visa-versa. |
104 return min(limit, a, b) |
104 return min(limit, a, b) |
105 |
105 |