##// END OF EJS Templates
delta-search: fix crash caused by unbound variable...
Raphaël Gomès -
r52402:e7bbeaa4 stable
parent child Browse files
Show More
@@ -876,7 +876,8 b' class _GeneralDeltaSearch(_BaseDeltaSear'
876 # XXX note that the ordering of the group becomes important as
876 # XXX note that the ordering of the group becomes important as
877 # it now impacts the final result. The current order is
877 # it now impacts the final result. The current order is
878 # unprocessed and can be improved.
878 # unprocessed and can be improved.
879 next_idx = self._internal_idx + self._group_chunk_size
879 chunk_size = self.revlog.delta_config.candidate_group_chunk_size
880 next_idx = self._internal_idx + chunk_size
880 self.current_group = self._internal_group[
881 self.current_group = self._internal_group[
881 self._internal_idx : next_idx
882 self._internal_idx : next_idx
882 ]
883 ]
General Comments 0
You need to be logged in to leave comments. Login now