Show More
@@ -172,10 +172,10 b' class changelog(revlog.revlog):' | |||
|
172 | 172 | def headrevs(self): |
|
173 | 173 | if self.filteredrevs: |
|
174 | 174 | try: |
|
175 | return self.index.headrevs(self.filteredrevs) | |
|
176 |
# AttributeError covers non-c-extension environments |
|
|
177 | # TypeError allows us work with old c extensions. | |
|
178 |
except |
|
|
175 | return self.index.headrevsfiltered(self.filteredrevs) | |
|
176 | # AttributeError covers non-c-extension environments and | |
|
177 | # old c extensions without filter handling. | |
|
178 | except AttributeError: | |
|
179 | 179 | return self._headrevs() |
|
180 | 180 | |
|
181 | 181 | return super(changelog, self).headrevs() |
General Comments 0
You need to be logged in to leave comments.
Login now