def METHOD_NAME(self, rev: Optional[str] = None):
    if rev:
        self.def_repo[self.PARAM_REV] = rev
    self.fs = self._make_fs(rev=rev, locked=False)
    self.def_repo[self.PARAM_REV_LOCK] = self.fs.repo.get_rev()