##// END OF EJS Templates
branchcache: stop using `copy(…)` in `replace(…)`...
marmoute -
r52382:659f7666 default
parent child Browse files
Show More
@@ -157,7 +157,9 b' class BranchMapCache:'
157 for candidate in (b'base', b'immutable', b'served'):
157 for candidate in (b'base', b'immutable', b'served'):
158 rview = repo.filtered(candidate)
158 rview = repo.filtered(candidate)
159 if cache.validfor(rview):
159 if cache.validfor(rview):
160 cache = self._per_filter[candidate] = cache.copy(rview)
160 cache._filtername = candidate
161 self._per_filter[candidate] = cache
162 cache._dirty = True
161 cache.write(rview)
163 cache.write(rview)
162 return
164 return
163
165
General Comments 0
You need to be logged in to leave comments. Login now