mercurial/revlogutils/docket.py
changeset 47388 bcf92bdc2bca
parent 47371 298d4400ea68
child 47389 e6292eb33384
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