Cake.Svn

Addin that extends the Cake build automation system with Subversion features using SharpSvn.

#addin nuget:?package=Cake.Svn&version=0.9.0

dotnet add package Cake.Svn --version 0.9.0

<PackageReference Include="Cake.Svn" Version="0.9.0" />

Aliases

Contains functionality for working with Subversion.

Add

SvnAddDirectory(DirectoryPath, SvnAddSettings) Add a directory to Subversion.
SvnAddDirectory(DirectoryPath) Add a directory to Subversion.
SvnAddFile(FilePath, SvnAddSettings) Add a file to Subversion.
SvnAddFile(FilePath) Add a file to Subversion.

Checkout

SvnCheckout(Uri, DirectoryPath, SvnCheckoutSettings) Checkout a Subversion directory tree with specific settings.
SvnCheckout(Uri, DirectoryPath) Checkout a Subversion directory tree.

CleanUp

SvnCleanUp(DirectoryPath, SvnCleanUpSettings) Runs SVN cleanup on the given directory using given settings settings. SVN cleanup removes all working copy locks left behind by crashed clients.
SvnCleanUp(DirectoryPath) Runs SVN cleanup on the given directory using default settings. SVN cleanup removes all working copy locks left behind by crashed clients.

Delete

SvnDeleteDirectory(DirectoryPath, SvnDeleteSettings) Delete a directory from Subversion.
SvnDeleteDirectory(DirectoryPath) Delete a directory from Subversion.
SvnDeleteFile(FilePath, SvnDeleteSettings) Delete a file from Subversion.
SvnDeleteFile(FilePath) Delete a file from Subversion.

Export

SvnExport(Uri, DirectoryPath, SvnExportSettings) Export a Subversion directory tree with specific settings.
SvnExport(Uri, DirectoryPath) Export a Subversion directory tree.

Info

GetSvnDirectoryInfo(DirectoryPath, SvnInfoSettings) Gets Subversion information about the directory at directoryPath with specific settings. The result list contains recursive information about the directoryPath (Infinity). To get information with another SvnDepth change the SvnDepth on settings.
GetSvnDirectoryInfo(DirectoryPath) Gets Subversion information about the directory at directoryPath. The result list contains recursive information about the directoryPath (Infinity). To get information with another SvnDepth the overload Cake.Svn.SvnAliases.GetSvnDirectoryInfo(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Info.SvnInfoSettings) can be used with changing the settings parameter.
GetSvnFileInfo(FilePath, SvnInfoSettings) Gets Subversion information about file at filePath with specific settings.
GetSvnFileInfo(FilePath) Gets Subversion information about the file at filePath.
GetSvnRemoteInfo(Uri, SvnInfoSettings) Gets Subversion information about the file or directory at repositoryUrl with specific settings. The result list contains recursive information about the repositoryUrl (Infinity). To get information with another SvnDepth change the SvnDepth on settings.
GetSvnRemoteInfo(Uri) Gets Subversion information about the file or directory at repositoryUrl. The result list contains recursive information about the repositoryUrl (Infinity). To get information with another SvnDepth the overload Cake.Svn.SvnAliases.GetSvnDirectoryInfo(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Info.SvnInfoSettings) can be used with changing the settings parameter.
IsDirectoryInSvnWorkingCopy(DirectoryPath) Check if the directoryPath was added to the Subversion working copy.
IsFileInSvnWorkingCopy(FilePath) Check if the filePath was added to the Subversion working copy.

Status

SvnStatusDirectory(DirectoryPath, SvnStatusSettings) Gets Subversion status about the directory at directoryPath with specific settings. The result list contains recursive status about the directoryPath (Infinity). To get status with another SvnDepth change the SvnDepth on settings.
SvnStatusDirectory(DirectoryPath) Gets Subversion status about the directory at directoryPath. The result list contains recursive status about the directoryPath (Infinity). To get status with another SvnDepth the overload Cake.Svn.SvnAliases.SvnStatusDirectory(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Status.SvnStatusSettings) can be used with chaning the settings parameter.
SvnStatusFile(FilePath, SvnStatusSettings) Gets Subversion status about file at filePath with specific settings.
SvnStatusFile(FilePath) Gets Subversion status about the file at filePath.

Update

SvnUpdate(DirectoryPath, SvnUpdateSettings) Updates the Subversion directory tree defined by the supplied directoryPath with specific settings. The new revision is returned as the result of the operation.
SvnUpdate(DirectoryPath) Updates the Subversion directory tree defined by the supplied directoryPath. The new revision is returned as the result of the operation. To update to a specific revision the overload Cake.Svn.SvnAliases.SvnUpdate(Cake.Core.ICakeContext,Cake.Core.IO.DirectoryPath,Cake.Svn.Update.SvnUpdateSettings) can be used with the settings parameter.
SvnUpdate(FilePath, SvnUpdateSettings) Update an individual file at filePath in a Subversion tree with specific settings.
SvnUpdate(FilePath) Update an individual file at filePath in a Subversion tree.

Vacuum

SvnVacuum(DirectoryPath, SvnVacuumSettings) Runs SVN vacuum on the given directory using given settings settings. SVN vacuum removes all ignored and unversioned files and directories. This does not revert any modifications to files within the working copy.
SvnVacuum(DirectoryPath) Runs SVN vacuum on the given directory using default settings. SVN vacuum removes all ignored and unversioned files and directories. This does not revert any modifications to files within the working copy.