##// END OF EJS Templates
revlog: clarify which revision is added to 'tested' when using cached delta...
Martin von Zweigbergk -
r27249:0e5aab54 default
parent child Browse files
Show More
@@ -1428,7 +1428,7 b' class revlog(object):'
1428 # Assume what we received from the server is a good choice
1428 # Assume what we received from the server is a good choice
1429 # build delta will reuse the cache
1429 # build delta will reuse the cache
1430 candidatedelta = builddelta(cachedelta[0])
1430 candidatedelta = builddelta(cachedelta[0])
1431 tested.add(candidatedelta[3])
1431 tested.add(cachedelta[0])
1432 if self._isgooddelta(candidatedelta, textlen):
1432 if self._isgooddelta(candidatedelta, textlen):
1433 delta = candidatedelta
1433 delta = candidatedelta
1434 if delta is None and self._generaldelta:
1434 if delta is None and self._generaldelta:
General Comments 0
You need to be logged in to leave comments. Login now