SvnAliases.

GetSvnRemoteInfo(ICakeContext, Uri, SvnInfoSettings) Method

Summary

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.
Assembly
Cake.Svn.dll
Namespace
Cake.Svn
Containing Type
SvnAliases

Syntax

public static IEnumerable<SvnInfoResult> GetSvnRemoteInfo(this ICakeContext context, Uri repositoryUrl, SvnInfoSettings settings)

Examples

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.

 var svnInfoSettings = new SvnInfoSettings
     {
         Depth = SvnDepth.Unknown;
     };

     var remoteInfo = GetSvnRemoteInfo(new Uri("https://svn.example.com/"), svnInfoSettings);

     foreach(var svnInfoResult in remoteInfo)
     {
         Verbose("Path: {0}", svnInfoResult.Path);
     }

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
repositoryUrl Uri The Uri.
settings SvnInfoSettings The settings.

Return Value

Type Description
IEnumerable<SvnInfoResult> A result list containing recursive information about the repositoryUrl (Infinity). To get information with another SvnDepth change the SvnDepth on settings.