Show More
@@ -1782,7 +1782,7 b' class revlog:' | |||||
1782 | """tells whether rev is a snapshot""" |
|
1782 | """tells whether rev is a snapshot""" | |
1783 | if not self._sparserevlog: |
|
1783 | if not self._sparserevlog: | |
1784 | return self.deltaparent(rev) == nullrev |
|
1784 | return self.deltaparent(rev) == nullrev | |
1785 |
elif util.safehasattr(self.index, |
|
1785 | elif util.safehasattr(self.index, 'issnapshot'): | |
1786 | # directly assign the method to cache the testing and access |
|
1786 | # directly assign the method to cache the testing and access | |
1787 | self.issnapshot = self.index.issnapshot |
|
1787 | self.issnapshot = self.index.issnapshot | |
1788 | return self.issnapshot(rev) |
|
1788 | return self.issnapshot(rev) |
General Comments 0
You need to be logged in to leave comments.
Login now