public IEnumerable <IMergeableChangeSet> GetMergeChangeSets(IFolderWithBranchingSupport targetFolder) { if (!this.Exists()) { throw new InvalidOperationException($"You cannnot merge from a folder that doesn't exists: '{this.GetServerPath().AsString()}'"); } return(ToSourceControlFolder().GetMergeChangeSets(targetFolder.GetServerPath())); }
public void Branch(IFolderWithBranchingSupport targetFolder) { if (!this.Exists()) { throw new InvalidOperationException($"You cannnot branch a folder that doesn't exists: '{this.GetServerPath().AsString()}'"); } ToSourceControlFolder().Branch(targetFolder.GetServerPath()); }