comparison mercurial/bundlerepo.py @ 51028:f70ce1aedbcb

manifestrevlog: flag some inconsistency in bundle/union repo inheritance This "work" but still, this is weird, let us point it out.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 10 Oct 2023 10:01:57 +0200
parents 8520db304f01
children 498afb627f78
comparison
equal deleted inserted replaced
51027:3314c41c3759 51028:f70ce1aedbcb
202 cgunpacker, 202 cgunpacker,
203 linkmapper, 203 linkmapper,
204 dirlogstarts=None, 204 dirlogstarts=None,
205 dir=b'', 205 dir=b'',
206 ): 206 ):
207 # XXX manifestrevlog is not actually a revlog , so mixing it with
208 # bundlerevlog is not a good idea.
207 manifest.manifestrevlog.__init__(self, nodeconstants, opener, tree=dir) 209 manifest.manifestrevlog.__init__(self, nodeconstants, opener, tree=dir)
208 bundlerevlog.__init__( 210 bundlerevlog.__init__(
209 self, 211 self,
210 opener, 212 opener,
211 (revlog_constants.KIND_MANIFESTLOG, dir), 213 (revlog_constants.KIND_MANIFESTLOG, dir),