comparison mercurial/bundlerepo.py @ 51403:68289ed170c7

phases: mark `phasecache.phaseroots` private We are about to change its content from nodeid to revnum. So anyone directly using the content might be in unexpected troubles. We start by making it private to explicitly break any such user (and discourage them to do so).
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 20 Feb 2024 17:18:15 +0100
parents 8ec2de9c6770
children 04111ef08fb0
comparison
equal deleted inserted replaced
51402:2e10ddbb9faa 51403:68289ed170c7
268 268
269 def _write(self, fp): 269 def _write(self, fp):
270 raise NotImplementedError 270 raise NotImplementedError
271 271
272 def _updateroots(self, phase, newroots, tr): 272 def _updateroots(self, phase, newroots, tr):
273 self.phaseroots[phase] = newroots 273 self._phaseroots[phase] = newroots
274 self.invalidate() 274 self.invalidate()
275 self.dirty = True 275 self.dirty = True
276 276
277 277
278 def _getfilestarts(cgunpacker): 278 def _getfilestarts(cgunpacker):