Ejemplo n.º 1
0
        public override async Task ExecuteAsync(IOperationExecutionContext context)
        {
            this.LogInformation("Executing SVN delete...");
            var(c, r) = this.GetCredentialsAndResource(context);
            var client = new SvnClient(context, c, this.SvnExePath, this);
            var path   = new SvnPath(r?.RepositoryUrl, this.Path);
            var result = await client.DeleteAsync(path, this.Message, this.AdditionalArguments).ConfigureAwait(false);

            this.LogClientResult(result);

            this.LogInformation("SVN delete executed.");
        }