Mercurial > hg
comparison mercurial/revlog.py @ 47450:9cecc222c536
revlogv2: fix `hg verify` with revlog v2
We added a bunch of new files but we never teached some internal about it. This
is now fixed.
Differential Revision: https://phab.mercurial-scm.org/D10858
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 09 Jun 2021 12:19:42 +0200 |
parents | cac0e0621ceb |
children | c6844912c327 |
comparison
equal
deleted
inserted
replaced
47449:da3fb8c10caa | 47450:9cecc222c536 |
---|---|
2826 | 2826 |
2827 return (dd, di) | 2827 return (dd, di) |
2828 | 2828 |
2829 def files(self): | 2829 def files(self): |
2830 res = [self._indexfile] | 2830 res = [self._indexfile] |
2831 if not self._inline: | 2831 if self._docket_file is None: |
2832 res.append(self._datafile) | 2832 if not self._inline: |
2833 res.append(self._datafile) | |
2834 else: | |
2835 res.append(self._docket_file) | |
2836 if self._docket.data_end: | |
2837 res.append(self._datafile) | |
2838 if self._docket.sidedata_end: | |
2839 res.append(self._sidedatafile) | |
2833 return res | 2840 return res |
2834 | 2841 |
2835 def emitrevisions( | 2842 def emitrevisions( |
2836 self, | 2843 self, |
2837 nodes, | 2844 nodes, |