Show More
@@ -404,12 +404,6 b' class changelog(revlog.revlog):' | |||
|
404 | 404 | self.filteredrevs = frozenset() |
|
405 | 405 | self._copiesstorage = opener.options.get(b'copies-storage') |
|
406 | 406 | |
|
407 | def linkrev(self, rev): | |
|
408 | """filtered version of revlog.linkrev""" | |
|
409 | if rev in self.filteredrevs: | |
|
410 | raise error.FilteredIndexError(rev) | |
|
411 | return super(changelog, self).linkrev(rev) | |
|
412 | ||
|
413 | 407 | def parentrevs(self, rev): |
|
414 | 408 | """filtered version of revlog.parentrevs""" |
|
415 | 409 | if rev in self.filteredrevs: |
@@ -313,6 +313,12 b' def wrapchangelog(unfichangelog, filtere' | |||
|
313 | 313 | raise error.FilteredIndexError(rev) |
|
314 | 314 | return super(filteredchangelog, self).node(rev) |
|
315 | 315 | |
|
316 | def linkrev(self, rev): | |
|
317 | """filtered version of revlog.linkrev""" | |
|
318 | if rev in self.filteredrevs: | |
|
319 | raise error.FilteredIndexError(rev) | |
|
320 | return super(filteredchangelog, self).linkrev(rev) | |
|
321 | ||
|
316 | 322 | cl.__class__ = filteredchangelog |
|
317 | 323 | |
|
318 | 324 | return cl |
General Comments 0
You need to be logged in to leave comments.
Login now