comparison mercurial/revlogutils/docket.py @ 47388:bcf92bdc2bca

revlog: fix docket.date_filepath docstring This was copy-pasted too quickly. Differential Revision: https://phab.mercurial-scm.org/D10786
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 28 May 2021 23:41:12 +0200
parents 298d4400ea68
children e6292eb33384
comparison
equal deleted inserted replaced
47387:75e1104f23a2 47388:bcf92bdc2bca
143 if self._index_uuid is None: 143 if self._index_uuid is None:
144 self._index_uuid = make_uid() 144 self._index_uuid = make_uid()
145 return b"%s-%s.idx" % (self._radix, self._index_uuid) 145 return b"%s-%s.idx" % (self._radix, self._index_uuid)
146 146
147 def data_filepath(self): 147 def data_filepath(self):
148 """file path to the current index file associated to this docket""" 148 """file path to the current data file associated to this docket"""
149 # very simplistic version at first 149 # very simplistic version at first
150 if self._data_uuid is None: 150 if self._data_uuid is None:
151 self._data_uuid = make_uid() 151 self._data_uuid = make_uid()
152 return b"%s-%s.dat" % (self._radix, self._data_uuid) 152 return b"%s-%s.dat" % (self._radix, self._data_uuid)
153 153