Show More
@@ -428,6 +428,7 b' class changelog(revlog.revlog):' | |||||
428 | self._filteredrevs = frozenset() |
|
428 | self._filteredrevs = frozenset() | |
429 | self._filteredrevs_hashcache = {} |
|
429 | self._filteredrevs_hashcache = {} | |
430 | self._copiesstorage = opener.options.get(b'copies-storage') |
|
430 | self._copiesstorage = opener.options.get(b'copies-storage') | |
|
431 | self.revlog_kind = b'changelog' | |||
431 |
|
432 | |||
432 | @property |
|
433 | @property | |
433 | def filteredrevs(self): |
|
434 | def filteredrevs(self): |
@@ -32,6 +32,7 b' class filelog(object):' | |||||
32 | # Full name of the user visible file, relative to the repository root. |
|
32 | # Full name of the user visible file, relative to the repository root. | |
33 | # Used by LFS. |
|
33 | # Used by LFS. | |
34 | self._revlog.filename = path |
|
34 | self._revlog.filename = path | |
|
35 | self._revlog.revlog_kind = b'filelog' | |||
35 |
|
36 | |||
36 | def __len__(self): |
|
37 | def __len__(self): | |
37 | return len(self._revlog) |
|
38 | return len(self._revlog) |
@@ -1610,6 +1610,7 b' class manifestrevlog(object):' | |||||
1610 | self.index = self._revlog.index |
|
1610 | self.index = self._revlog.index | |
1611 | self.version = self._revlog.version |
|
1611 | self.version = self._revlog.version | |
1612 | self._generaldelta = self._revlog._generaldelta |
|
1612 | self._generaldelta = self._revlog._generaldelta | |
|
1613 | self._revlog.revlog_kind = b'manifest' | |||
1613 |
|
1614 | |||
1614 | def _setupmanifestcachehooks(self, repo): |
|
1615 | def _setupmanifestcachehooks(self, repo): | |
1615 | """Persist the manifestfulltextcache on lock release""" |
|
1616 | """Persist the manifestfulltextcache on lock release""" |
General Comments 0
You need to be logged in to leave comments.
Login now