##// END OF EJS Templates
revlogv2: fix `hg verify` with revlog v2...
marmoute -
r48243:9cecc222 default
parent child Browse files
Show More
@@ -2828,8 +2828,15 b' class revlog(object):'
2828
2828
2829 def files(self):
2829 def files(self):
2830 res = [self._indexfile]
2830 res = [self._indexfile]
2831 if self._docket_file is None:
2831 if not self._inline:
2832 if not self._inline:
2832 res.append(self._datafile)
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(
@@ -119,3 +119,21 b' Local clone works'
119 The two repository should be identical, this diff MUST be empty
119 The two repository should be identical, this diff MUST be empty
120
120
121 $ cmp ../tip-new ../tip-cloned || diff -U8 ../tip-new ../tip-cloned
121 $ cmp ../tip-new ../tip-cloned || diff -U8 ../tip-new ../tip-cloned
122
123
124 hg verify should be happy
125 -------------------------
126
127 $ hg verify
128 checking changesets
129 checking manifests
130 crosschecking files in changesets and manifests
131 checking files
132 checked 1 changesets with 1 changes to 1 files
133
134 $ hg verify -R ../cloned-repo
135 checking changesets
136 checking manifests
137 crosschecking files in changesets and manifests
138 checking files
139 checked 1 changesets with 1 changes to 1 files
General Comments 0
You need to be logged in to leave comments. Login now