def __init__(self, repo):
        self.storepath = repo.ui.configpath("scratchbranch", "storepath")
        if not self.storepath:
            self.storepath = repo.localvfs.join("scratchbranches", "filebundlestore")
        if not os.path.exists(self.storepath):
            os.makedirs(self.storepath)