def _create_repository_files(self): path = self.repo_path if not os.path.exists(path): os.makedirs(path) path = os.path.abspath(path) subssh.check_call((config.SVNADMIN_BIN, "create", path)) subssh.check_call(( config.SVN_BIN, "-m", "automatically created project base", "mkdir", "file://%s" % os.path.join(path, "trunk"), "file://%s" % os.path.join(path, "tags"), "file://%s" % os.path.join(path, "branches"), ))
def _create_repository_files(self): os.chdir(self.repo_path) subssh.check_call((config.GIT_BIN, "--bare", "init"))