Closed borismod closed 6 years ago
As a user I would like to be able to fluently specify what branches to include and exclude when defining a VCS root.
[Test] public void CreateVcsRoot_FluentVcsBranchSpec_VcsRootCreated() { var vcsRoot = new RemoteTc(c => c.ToHost("HOST").AsGuest()). CreateVcsRoot(project => project.Id("ProjectId"), vcsRoot => vcsRoot .Id("VcsRootId") .Name("VcsRootName") .Password("Password") .Branch("refs/head/develop") .BranchSpec(spec => spec.IncludeFeatureBranches() .IncludeMasterBranch() .ExcludeBugFixBranches()) }
Resolved and available on nuget
Feature Request
As a user I would like to be able to fluently specify what branches to include and exclude when defining a VCS root.
Test to reproduce