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 parentrevs(self, rev): |
|
|||
408 | """filtered version of revlog.parentrevs""" |
|
|||
409 | if rev in self.filteredrevs: |
|
|||
410 | raise error.FilteredIndexError(rev) |
|
|||
411 | return super(changelog, self).parentrevs(rev) |
|
|||
412 |
|
||||
413 | def flags(self, rev): |
|
407 | def flags(self, rev): | |
414 | """filtered version of revlog.flags""" |
|
408 | """filtered version of revlog.flags""" | |
415 | if rev in self.filteredrevs: |
|
409 | if rev in self.filteredrevs: |
@@ -319,6 +319,12 b' def wrapchangelog(unfichangelog, filtere' | |||||
319 | raise error.FilteredIndexError(rev) |
|
319 | raise error.FilteredIndexError(rev) | |
320 | return super(filteredchangelog, self).linkrev(rev) |
|
320 | return super(filteredchangelog, self).linkrev(rev) | |
321 |
|
321 | |||
|
322 | def parentrevs(self, rev): | |||
|
323 | """filtered version of revlog.parentrevs""" | |||
|
324 | if rev in self.filteredrevs: | |||
|
325 | raise error.FilteredIndexError(rev) | |||
|
326 | return super(filteredchangelog, self).parentrevs(rev) | |||
|
327 | ||||
322 | cl.__class__ = filteredchangelog |
|
328 | cl.__class__ = filteredchangelog | |
323 |
|
329 | |||
324 | return cl |
|
330 | return cl |
General Comments 0
You need to be logged in to leave comments.
Login now