mercurial/revlog.py
changeset 47324 0a3fa41fa719
parent 47294 93a0abe098e7
child 47327 1844a2e3401c
equal deleted inserted replaced
47323:f612db768c7a 47324:0a3fa41fa719
   626             self._generaldelta = True
   626             self._generaldelta = True
   627             # the logic for persistent nodemap will be dealt with within the
   627             # the logic for persistent nodemap will be dealt with within the
   628             # main docket, so disable it for now.
   628             # main docket, so disable it for now.
   629             self._nodemap_file = None
   629             self._nodemap_file = None
   630 
   630 
   631         if self.postfix is None:
   631         if self._docket is not None:
       
   632             self._datafile = self._docket.data_filepath()
       
   633         elif self.postfix is None:
   632             self._datafile = b'%s.d' % self.radix
   634             self._datafile = b'%s.d' % self.radix
   633         else:
   635         else:
   634             self._datafile = b'%s.d.%s' % (self.radix, self.postfix)
   636             self._datafile = b'%s.d.%s' % (self.radix, self.postfix)
   635 
   637 
   636         self.nodeconstants = sha1nodeconstants
   638         self.nodeconstants = sha1nodeconstants