mercurial/localrepo.py
changeset 47260 ccdd280d1d0d
parent 47238 6597255a4f94
child 47263 6c84fc9c9a90
equal deleted inserted replaced
47259:07641bafa646 47260:ccdd280d1d0d
  3370         finally:
  3370         finally:
  3371             fp.close()
  3371             fp.close()
  3372         return self.pathto(fp.name[len(self.root) + 1 :])
  3372         return self.pathto(fp.name[len(self.root) + 1 :])
  3373 
  3373 
  3374     def register_wanted_sidedata(self, category):
  3374     def register_wanted_sidedata(self, category):
  3375         if requirementsmod.REVLOGV2_REQUIREMENT not in self.requirements:
  3375         if repository.REPO_FEATURE_SIDE_DATA not in self.features:
  3376             # Only revlogv2 repos can want sidedata.
  3376             # Only revlogv2 repos can want sidedata.
  3377             return
  3377             return
  3378         self._wanted_sidedata.add(pycompat.bytestr(category))
  3378         self._wanted_sidedata.add(pycompat.bytestr(category))
  3379 
  3379 
  3380     def register_sidedata_computer(
  3380     def register_sidedata_computer(