public void CreateRepository(string basePath, string repositoryPath) { var remotePath = Path.Combine(basePath, remoteName); var svnUri = new Uri(remotePath); DirectoryUtility.Create(repositoryPath); DirectoryUtility.Prepare(repositoryPath, "tags"); DirectoryUtility.Prepare(repositoryPath, "trunk"); SvnServerHost.Run("create", remotePath.WrapQuot(), "--fs-type", "fsfs"); SvnClientHost.Run("import", "-m", "first", repositoryPath.WrapQuot(), svnUri.ToString().WrapQuot()); SvnClientHost.Run("checkout", svnUri.ToString().WrapQuot(), repositoryPath.WrapQuot(), "--force"); CremaLog.Info("crema repository : \"{0}\"", repositoryPath); CremaLog.Info(" svn repository : \"{0}\"", remotePath); }
public void Info(object message) { CremaLog.Info(message); }