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