comparison mercurial/revlog.py @ 51082:808f1e38cd1d

revlog: small doc to the `files` method
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 13 Oct 2023 16:03:26 +0200
parents 5ffee3cff8de
children 5645524c6b62
comparison
equal deleted inserted replaced
51081:5ffee3cff8de 51082:808f1e38cd1d
3304 di = 0 3304 di = 0
3305 3305
3306 return (dd, di) 3306 return (dd, di)
3307 3307
3308 def files(self): 3308 def files(self):
3309 """return list of files that compose this revlog"""
3309 res = [self._indexfile] 3310 res = [self._indexfile]
3310 if self._docket_file is None: 3311 if self._docket_file is None:
3311 if not self._inline: 3312 if not self._inline:
3312 res.append(self._datafile) 3313 res.append(self._datafile)
3313 else: 3314 else: