repo dir switch