Show More
@@ -218,6 +218,12 b' def filterrevs(repo, filtername, visibil' | |||
|
218 | 218 | return repo.filteredrevcache[filtername] |
|
219 | 219 | |
|
220 | 220 | |
|
221 | def wrapchangelog(unfichangelog, filteredrevs): | |
|
222 | cl = copy.copy(unfichangelog) | |
|
223 | cl.filteredrevs = filteredrevs | |
|
224 | return cl | |
|
225 | ||
|
226 | ||
|
221 | 227 | class repoview(object): |
|
222 | 228 | """Provide a read/write view of a repo through a filtered changelog |
|
223 | 229 | |
@@ -286,8 +292,7 b' class repoview(object):' | |||
|
286 | 292 | cl = None |
|
287 | 293 | # could have been made None by the previous if |
|
288 | 294 | if cl is None: |
|
289 |
cl = |
|
|
290 | cl.filteredrevs = revs | |
|
295 | cl = wrapchangelog(unfichangelog, revs) | |
|
291 | 296 | object.__setattr__(self, r'_clcache', cl) |
|
292 | 297 | object.__setattr__(self, r'_clcachekey', newkey) |
|
293 | 298 | return cl |
General Comments 0
You need to be logged in to leave comments.
Login now