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.
- Namespace
- Cake
.Svn - Containing Type
- SvnAliases
Syntax
[CakeMethodAlias]
[CakeAliasCategory("Info")]
[CakeNamespaceImport("Cake.Svn.Info")]
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 |
---|---|
CakeMethodAlias | |
CakeAliasCategory | |
CakeNamespaceImport |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
repositoryUrl | Uri | The Uri. |
settings | SvnInfoSettings | The settings. |